Movie: No. of Songs --> Last Song
--> First Station --> Least Common Multiple
--> All Stations --> Common Mult
if 30%5 == 0:
print(5)
if 30%6 == 0:
print(6)
if 30%7 == 0:
print(7)
if 30%8 == 0:
print(8)
div = 1
if 30%div == 0:
print(div)
div+=1
if 30%div == 0:
print(div)
div+=1
if 30%div == 0:
print(div)
div+=1
if 30%div == 0:
print(div)
div+=1
no = 30
div = 1
while div<=no:
if no%div == 0:
print(div)
div+=1
no = 10000
div = 2
while div<=no//2: # 2 3 4 5 6 7 8 9 ... 5000
if no%div == 0:
print(div)
div+=1
no = 30 #
div = 2
count = 0
while div<=no//2: # 2 3 4 5 6 7 8 9 ... 5000
if no%div == 0:
#print(div)
count+=1
div+=1
print("Count of Divisors", count)
no = 31 #
div = 2
count = 0
while div<=no//2: #
if no%div == 0:
#print(div)
count+=1
div+=1
print("Count of Divisors", count)
if count == 0:
print(no, 'is a prime number')
The One and Only Even Prime number is 2.
Divisor:
the number by which another number (the dividend) is divided.,
Divisors Count:
the total number of whole integers that can evenly divide a specific number without leaving a remainder
, Prime Number:
1 to 100There are 25 prime numbers between 1 and 100:
2, 3, 5, 7 (1–10)
11, 13, 17, 19 (11–20)
23, 29 (21–30)
31, 37 (31–40)
41, 43, 47 (41–50)
53, 59 (51–60)
61, 67 (61–70)
71, 73, 79 (71–80)
83, 89 (81–90)97 (91–100)
Top comments (0)