# 制作趣味模板程序# 需求:等待用户输入名字,地点,爱好,根据用户的名字和爱好进行任意显示# 如:敬爱可爱的XXX,最喜欢在XXX地方干XXX username = input("Please enter your name: ")address = input("Usually address for your hobby: ")hobby = input("what kinds of hobbies do you have: ") print("==================================")print("My dear %s, like playing %s in %s. " %(username, hobby, address))print("==================================")
原文地址:https://www.cnblogs.com/demilyc/p/9975977.html
时间: 2024-10-20 23:19:33