📜  mad libs 生成器 python 教程 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:27.775000             🧑  作者: Mango

代码示例1
print("Mad Lib Generator")
print("For a good output give a space between the colon symbol")
print("---------------------------------------------------")
b = input("Enter a noun:")
c = input("Enter a Hobby:")
d = input("Enter a celebrity:")
print("----------------------------------------------------")
print("Star Wars is a" + b )
print("I am a fan of" + d)
print("My Hobby is" + c)