Answers for "python roll dice 100 times"

1

python roll dice 100 times

import random

roll = [random.randint(1,6) for x in range(100)]

print(roll)
Posted by: Guest on May-06-2021

Python Answers by Framework

Browse Popular Code Answers by Language