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

No comments:

DBMS Lab

exam link WEEK1 WEEK2 ----> Insertion WEEK3 WEEK4 WEEK5 WEEK6 PL/SQL WEEK7 WEEK8 WEEK9 WEEK10 WEEK11 WEEK12 DBMS Class room link   https:...