Be patient, Everything is coming Together.
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
https://meet.google.com/bjp-tnpc-zee
Design LALR Bottom up Parser using YACC.
Design LALR Bottom up Parser. <parser.l> %{ #include<stdio.h> #include "y.tab.h" %} %% [0-9]+ {yylval...
Wipro TalentNext (2021 Batch) A.Y 2024-25 group
click here
Task
task1: until single digit occurred sum of all digits in the given number task2: non reputed digits count in the given number task3: differen...
No comments:
Post a Comment