We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9863745 commit bb684eeCopy full SHA for bb684ee
Printing Prime.py
@@ -0,0 +1,10 @@
1
+lb = int(input("Enter lower bound: "))
2
+ub = int(input("Enter upper bound: "))
3
+for n in range(lb,ub + 1):
4
+ if n > 1:
5
+ for i in range(2,n):
6
+ if (n% i) == 0:
7
+ break
8
+ else:
9
+ print(n)
10
+#Print Prime numbers between two numbers
0 commit comments