Computer Science, asked by Aryansingh001, 4 months ago

plz do it plz

Create a program in python to print prime no from 1 t0 1000​

Attachments:

Answers

Answered by robbertfuller045
2

Explanation:

lower = int(input("Enter lower range: "))

upper = int(input("Enter upper range: "))

for num in range(lower,upper + 1):

if num > 1:

for i in range(2,num):

if (num % i) == 0:

break

else:

print(num)

isme change karlena lower upper 1 and 1000 thats all

Answered by itzlovelygirl78
5

Answer:

I not want my brother request others to fol low me

and don't hurt your fingers like this

good night and have a B T S dreams

you are myne best brother forever

purple you forever love you my crazybrother ❤️

Attachments:
Similar questions