Ответ:
A)
Z1=[]
Z2=[]
for i in range(10):
Z1.append(input())
X=int(input())
Z2.append(X+i)
print(Z1,Z2)
Б)
Z1.append(X-i)
for i in range(1,11):
Z2.append(2**i)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
A)
Z1=[]
Z2=[]
for i in range(10):
Z1.append(input())
X=int(input())
for i in range(10):
Z2.append(X+i)
print(Z1,Z2)
Б)
Z1=[]
Z2=[]
X=int(input())
for i in range(10):
Z1.append(X-i)
for i in range(1,11):
Z2.append(2**i)
print(Z1,Z2)