编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息,如“Let me see if I can find you a Subaru”。
代码:
car=input('What kind of car you like to rent? ')
print("\nLet me see if I can find you a "+car+" .")
运行结果:
编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息,如“Let me see if I can find you a Subaru”。
代码:
car=input('What kind of car you like to rent? ')
print("\nLet me see if I can find you a "+car+" .")
运行结果: