MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / ending

Function ending

Fancy_Text_Generator/main.py:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15# Ending message
16def ending():
17 print("\n\nThanks for using the code :)\n")
18 a = input("Do you want to run the program again? (y for yes) (any key for no): ")
19 if a.lower() == 'y':
20 return True
21 else:
22 sys.exit()
23
24# Main loop
25def run_loop():

Callers 1

run_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected