Computer Science, asked by AnnieStar, 11 months ago

Write a python program to create a tuple storing prime numbers in given range. ​

Answers

Answered by Swetha03K
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 Anonymous
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