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
Math,
2 months ago
English,
2 months ago
Computer Science,
2 months ago
History,
6 months ago
English,
6 months ago
Biology,
11 months ago
Computer Science,
11 months ago