python:实现stone paper scissor石头、布、剪刀 utils.py main.py utils.py def validate(hand): if hand < 0 or hand > 2: return False return True