读取用户输入

name = input("what is your name?")

print("Hello",name)

name = input("what is your name?")

age = input("how old are you?")

hometown = input("where is your hometown?")

print ("Hello",name "you are", age, "years old,you cam from",hometown)

猜你喜欢

转载自www.cnblogs.com/mous/p/10241799.html