PW Akshay

Generation

generate functionFri, 02 Dec 2022

Write a random number generator that generatesrandom numbers between 1 and 6 (simulates a dice).

import random print(random.randint(1,6))

Questions about programming?Chat with your personal AI assistant