You need an upper and lower bound argument.
# return a random number inclusive of 0 and 2. result = random.randint(0,2)