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
4
n = int(input("enter n: "))
print(", ".join([str(n) for n in range(1, n, 4)]))
Similar questions