【python学习笔记】3.输入与输出

1.print()输出

2.input()输入

3.name = raw_input('please input your name')
print("hello",name)

在cmd命令行下面执行


4.python 2和3在输入这个地方有点不同,2是raw_input;3是直接input就行了

猜你喜欢

转载自blog.csdn.net/qq_37519186/article/details/72983740