用户交互和注释
用户交互
- 等待用户操作后再执行程序
示例
- 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)

浙公网安备 33010602011771号