[ edit ]

import random

def janken_random_hand():
    return( random.randint( 0, 2 ) )

def janken_judge( x, y ):
    return( ((y-x)+3)%3 )

SoftEng: Python/Prog/Practice/Extended/02/EP_004a/Digest (last edited 2019-10-16 14:42:01 by TadashiIijima)