Write a Python program to find even numbers from 20-100(use while loop).
Answers
Answered by
2
# Python Program to Print Even Numbers from 1 to N
maximum = int(input(" Please Enter the Maximum Value : "))
for number in range(2, maximum+1, 2):
print("{0}".format(number))
Similar questions