Ответ:
import random
c=0
b = [random.randint(0,24) for _ in range(7)]
for i in range (len(b)):
if b[i] < 20:
c+=b[i]
print(b,c)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import random
c=0
b = [random.randint(0,24) for _ in range(7)]
for i in range (len(b)):
if b[i] < 20:
c+=b[i]
print(b,c)
Объяснение: