from random import randrange
massive1 = [randrange(0,9) for i in range(100)]
massive2 = [randrange(0,9) for i in range(50)]
massive3 = [randrange(0,9) for i in range(10)]
print(sum(massive1) + sum(massive2) + sum(massive3)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from random import randrange
massive1 = [randrange(0,9) for i in range(100)]
massive2 = [randrange(0,9) for i in range(50)]
massive3 = [randrange(0,9) for i in range(10)]
print(sum(massive1) + sum(massive2) + sum(massive3)