Number Patters - Odd Numbers

 # Number Patterns

# Odd Numbers


Num_of_terms = int(input("Enter number of terms : "))

val = 1


print("Number Patterns - Odd Numbers : ")

for i in range(0,Num_of_terms,1):

print(val, end=" ")

val+=2

No comments:

Post a Comment

Don't be a silent reader...
Leave your comments...

Anu