Ответ:
a = int(input("a="))
d = int(input("d="))
n = int(input("n="))
list1 = []
for x in range(0,n):
if len(list1) == 0:
list1.append(a)
else:
list1.append(list1[-1]+d)
print(str(list1))
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a = int(input("a="))
d = int(input("d="))
n = int(input("n="))
list1 = []
for x in range(0,n):
if len(list1) == 0:
list1.append(a)
else:
list1.append(list1[-1]+d)
print(str(list1))
Объяснение: