Python 输入输出

语法注释

输入输出

#语法缩进,4个空格
#注释
#冒号:结尾,缩进的预计视为代码块
#大小写敏感 
#输出
print 300
print 'hello','world' 
#输入
a=raw_input() 

name=raw_input()
print 'hello',name 
name=raw_input('please enter your name:')
三年有成,问苍茫~
原文地址:https://www.cnblogs.com/lynclynn/p/5194363.html