Nov-04-2018, 04:13 PM
hi, am new at python trying to learn
is there away for me to know if its in the list?
is there away for me to know if its in the list?
import random def rollBall(): system = [0,9,12,20,24,25,35] roll = random.randint(0,37) if roll = system[0,1,2,3,4,5,6]: return Truetried this and seems "invalid syntax"