MCPcopy Create free account
hub / github.com/geekcomputers/Python / print_hand

Function print_hand

stone_paper_scissor/utils.py:7–9  ·  view source on GitHub ↗
(hand, name="Guest")

Source from the content-addressed store, hash-verified

5
6
7def print_hand(hand, name="Guest"):
8 hands = ["Rock", "Paper", "Scissors"]
9 print(name + " picked: " + hands[hand])
10
11
12def judge(player, computer):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected