import random
m=[]
b=0
for a in range(30):
m.append(random.randint(1,1000))
for a in range(len(m)):
if m[a]<100:
b+=1
print(b)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
import random
m=[]
b=0
for a in range(30):
m.append(random.randint(1,1000))
for a in range(len(m)):
if m[a]<100:
b+=1
print(b)