Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ validate
Function
validate
stone_paper_scissor/utils.py:1–4 ·
view source on GitHub ↗
(hand)
Source
from the content-addressed store, hash-verified
1
def
validate(hand):
2
if
hand < 0 or hand > 2:
3
return
False
4
return
True
5
6
7
def
print_hand(hand, name=
"Guest"
):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected