1. print('Hello world')
    2. print("Hello World")

    Getting information from the user

    1. name = input("Please enter your name: ")
    2. print(name)

    (这里可以举上次那个C#软件)

    1. print("Please enter your name: ")
    2. name = input()
    3. print(name)
    1. print("Hello\nWorld\n!")
    2. print("Hello")
    3. print("World")
    4. print("!")
    1. print("Hello World")
    2. print()
    3. print("Did you see that blink line?")
    4. print("Blank line \nint the middle of string")

    Debugging with print
    一种古老的技巧,在编译器还么有那么发达的时候,早期程序员就这样debug
    这种技巧古老且高效,在之后的学习中我们还会用到这种方法

    1. print("Adding numbers")
    2. x = 42 + 206
    3. print("Performing division")
    4. y = x / 0
    5. print("Math complete")