keep Looping = “a” user Input = “y” while (keep Looping == “y”): print (“Hello world!”) user Input = input(“Would you like me to keep printing hello world? (y/n)”)
keepLooping = “y”
userInput = “y”
while (keepLooping == “y”):
print (“Hello world!”)
userInput = input(“Would you like me to keep printing hello world? (y/n)”)