📅  最后修改于: 2022-03-11 14:58:47.882000             🧑  作者: Mango
keepLooping = “y”
userInput = “y”
while (keepLooping == “y”):
print (“Hello world!”)
userInput = input(“Would you like me to keep printing hello world? (y/n)”)