Ответ:
a = int(input())
b = int(input())
arra=[]
arrb=[]
for i in range(a):
if i%2 > 0 :
arra.append(i)
for x in range(b):
if x%2==0 :
arrb.append(x)
print(arra)
print(arrb)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a = int(input())
b = int(input())
arra=[]
arrb=[]
for i in range(a):
if i%2 > 0 :
arra.append(i)
for x in range(b):
if x%2==0 :
arrb.append(x)
print(arra)
print(arrb)
Объяснение: