MCPcopy Index your code
hub / github.com/geekcomputers/Python / main

Function main

BlackJack_game/blackjack_simulate.py:627–634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

625
626
627def main():
628 try:
629 user_name = input("What is your name: ")
630 except KeyboardInterrupt:
631 print("")
632 else:
633 black_jack = BlackJack(username=user_name)
634 black_jack.play()
635
636
637if __name__ == "__main__":

Callers 1

Calls 2

playMethod · 0.95
BlackJackClass · 0.85

Tested by

no test coverage detected