input和raw_input

简介:
1
2
3
4
5
6
7
8
9
10
python 2
#!/usr/bin/env python
#coding:utf-8
name=raw_input( "plese  input you name" )
print name
python3
#!/usr/bin/env python
#coding:utf-8
name=input( "plese  input you name" )
print name










本文转自 小小三郎1 51CTO博客,原文链接:http://blog.51cto.com/wsxxsl/1834916,如需转载请自行联系原作者
目录
相关文章
|
4月前
|
JavaScript 前端开发
input 输入 限制 大全
input 输入 限制 大全
117 0
|
8月前
input type=file过滤图片
input type=file过滤图片
29 0
(standard input): No keywords in input file
(standard input): No keywords in input file
86 0
解决AssertionError: size of input tensor and input format are different.tensor shape: (3, 138input_for
解决AssertionError: size of input tensor and input format are different.tensor shape: (3, 138input_for
304 0
|
算法 JavaScript
你不知道的<input type="file">的小秘密
你不知道的<input type="file">的小秘密
你不知道的<input type="file">的小秘密
ADI
|
JavaScript 前端开发 API
[记录] input[type=file]属性详解
[记录] input[type=file]属性详解
ADI
232 0
|
应用服务中间件 nginx
|
开发者 Python
input() 函数|学习笔记
快速学习 input() 函数
136 0