我的第一个Python程序:
print 'hello world'
raw_input ("print any key to continue...")
在python3.4下应写为
print ("hello world! This is my first python!")
input("Press enter key to close this window...")
此时的print函数已经成为python内置函数。
我的第一个Python程序:
print 'hello world'
raw_input ("print any key to continue...")
print ("hello world! This is my first python!")
input("Press enter key to close this window...")