文件名为 ex1.py
- print('hello world')
- print('hello agin')
- print('I like typing this')
- print ("This is fun.")
- print ('Yay! printing')
- print ("I'd much rather you 'not'.")
- print ("I'said'do not touch this.")
- print ('')
代码需要缩进四个空格, 整齐规范, print 函数括弧里面建议使用双引号.
来源: http://www.bubuko.com/infodetail-3095865.html