01 Hello, Python!
目标:万能的Hello,World!
接收用户输入,并打印出来。
#!/usr/bin/python # First comment print("Hello, Python!") # second comment name = input("Please input your name:\n") print("your name is ", name) input("Enter any key to exit...")
我们必须接受失望,因为它是有限的;但不能失去希望,因为它是无限的。
目标:万能的Hello,World!
接收用户输入,并打印出来。
#!/usr/bin/python # First comment print("Hello, Python!") # second comment name = input("Please input your name:\n") print("your name is ", name) input("Enter any key to exit...")