python基础1--------print(输出)
phthon的print如同C的print,printf,都是一样的概念吧!就是输出。
要点:
print(" xxx ") python3.x以后,print后面要加括号,2.x是有print的关键词的可以不加括号
print(" xxx ") 后面不需要加;我们学习的语言,java,c++,c,都是要每一个语句后面加上;的,但是python不需要,切记
print(" xxx ") 打印是可以打印多个的,以,分开即可
python唯一的输出,也就是打印,就是print
例子:
print ("The early bird catches the worm")