读取用户输入

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)

posted @ 2019-01-08 22:25  mouse2678  阅读(111)  评论(0)    收藏  举报