На Python:
def sequence(n):
arr = [ ]
for i in range(1, n+1):
x_i = 2*i + 3
arr.append(x_i)
return arr
print(sequence(10))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
На Python:
def sequence(n):
arr = [ ]
for i in range(1, n+1):
x_i = 2*i + 3
arr.append(x_i)
return arr
print(sequence(10))