永垂不朽的 HelloWorld

  • HelloWorld:

helloworld.py:

print 'Hello,World!'

#user$ python helloworld.py
#user$ Hello,World!

#这里的print 在Python 2.X中只是一个语句,用于在控制台中输入内容。
#'Hello,World!' 是一个字符串的表达式




你可能感兴趣的:(python)