用户交互
等待用户操作后再执行程序
示例
- name = input ("what's your name")
print("hello" , name)
name = input("what's your name?") age = input("How old are you?")
hometown = input("Where is your hometown?")
print("hello", name , "you are ",age," years old, you came from", hometown)代码注释用#,可以中文也可以英文