python 字符串输入、输出函数print input raw_input

一、输出print

print输出是以不带引号的输出。(用户所见的输出)

二、input()  和  raw_input()输入函数

raw_input()会把输入数据转换成字符串形式;

------------------------------------------------------------------------------------

input()不会把输入的数据转换成字符串形式。

------------------------------------------------------------------------------------

扫描二维码关注公众号,回复: 3168888 查看本文章

猜你喜欢

转载自www.cnblogs.com/chillytao-suiyuan/p/9641574.html
今日推荐