MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / pause

Function pause

Scripts/Games/Buzz.py:105–109  ·  view source on GitHub ↗
(msg: str="Press ENTER to continue...")

Source from the content-addressed store, hash-verified

103 os.system("clear" if os.name != "nt" else "cls")
104
105def pause(msg: str="Press ENTER to continue...") -> None:
106 try:
107 input(msg)
108 except KeyboardInterrupt:
109 print()
110
111def norm(s: str) -> str:
112 return " ".join(s.strip().lower().split())

Callers 15

edit_profileFunction · 0.70
show_highscoresFunction · 0.70
rnd_point_builderFunction · 0.70
rnd_stop_the_clockFunction · 0.70
rnd_fastest_fingersFunction · 0.70
rnd_pass_the_bombFunction · 0.70
rnd_high_stakesFunction · 0.70
rnd_point_stealerFunction · 0.70
rnd_over_the_edgeFunction · 0.70
rnd_boiling_pointFunction · 0.70
rnd_on_the_spotFunction · 0.70
rnd_jackpotFunction · 0.70

Calls 2

inputFunction · 0.85
printFunction · 0.85

Tested by

no test coverage detected