II Month XI B
II Month XI B
II Month XI B
Class: XI
Subject: Computer Sc.(083)
Set-B
30=To
for K in range(0,To)
IF k%4==0:
print (K*4)
Else:
print (K+3)
e. Suppose user input is 65, what is the output? Also specify the min and max value of t when i is 2.
import random as rnd
a=int(input("Enter a number"))
for i in range(4):
t=rnd.randint(0,i)
guess=chr(a+t)
print(guess,end='')