Write a python program to create a tuple storing prime numbers in given range.
Answers
Answered by
8
ll=int(input("Enter lower limit:"))
ul=int(input("Enter upper limit:"))
fac=0
t=( )
for i in range(ll,ul+1):
for j in range(2,i+1):
if i%j==0:
fac+=1
else:
t+=i
print("Tuple of prime no.s in the given range is:",t)
Answered by
2
Answer:
I'm Keahav sarkar from bangal I'm in class 12th pcm
cbse board 4 may se exam hai ☹️
bye the way ap kha se ho
Similar questions
English,
5 months ago
Hindi,
5 months ago
Computer Science,
11 months ago
Hindi,
1 year ago
Math,
1 year ago