rnadom number python code example Example: rnadom number python for _ in range(20) : value = random.randint(0, 2) print(value)