Search This Blog

Thursday, April 7, 2022

dice rolling

 import random

while True:
print(''' 1. roll the dice 2. exit ''')
user = int(input("what you want to do\n"))
if user==1:
number = random.randint(1,6)
print(number)
else:
break

AI tools and Applications

classroom link :  https://classroom.google.com/c/ODg3OTQ3NzQ3ODU2?cjc=p6e6svjs classroom code:  p6e6svjs Cooding activity: https://forms.gle...