Computer Science, asked by tia737, 5 months ago

write a python program to print the following series 1,5,9,13,17,....... upto n. n should be given by the user​

Answers

Answered by jai696
4

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

n = int(input("enter n: "))

print(", ".join([str(n) for n in range(1, n, 4)]))

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions