I need help with adding a code after the elif answer == "y":
that starts the app again from the beginning
answer = input("Run again? (y/n): ")
import sys
if answer == "n":
print("Goodbye.")
sys.exit
elif answer == "y":
I need help with adding a code after the elif answer == "y":
that starts the app again from the beginning
answer = input("Run again? (y/n): ")
import sys
if answer == "n":
print("Goodbye.")
sys.exit
elif answer == "y":
import sys
status = True
while(status):
answer = input("Run again? (y/n): ")
if answer == "n":
status = False
elif answer == "y":
status = True
print("Goodbye.")
sys.exit