Ответ:
b) 7
20
45
a) 2 94
10
37
101
Объяснение:
a)
n = 1
for i in range(4):
n = n + (i+1)**3
print(n)
b) p = 0
a = 4
for i in range(2,6,1):
a = 2*a - 1
p += a
print(p)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
b) 7
20
45
a) 2 94
10
37
101
Объяснение:
a)
n = 1
for i in range(4):
n = n + (i+1)**3
print(n)
b) p = 0
a = 4
for i in range(2,6,1):
a = 2*a - 1
p += a
print(p)