tell me a solution of wap to print the odd NOS from 3 to 33
Answers
Answered by
0
Answer:
# Python Program to Print Odd Numbers from 1 to N
maximum = int(input(" Please Enter any Maximum Value : "))
for number in range(1, maximum + 1):
if(number % 2 != 0):
print("{0}".format(number))# Python Program to Print Odd Numbers from 1 to N
maximum = int(input(" Please Enter any Maximum Value : "))
for number in range(1, maximum + 1):
if(number % 2 != 0):
print("{0}".format(number))
Explanation:
Similar questions