Write a program to print the first 10 even numbers in reverse order
a=int(input("Enter number:"))
while a>=2:
print(a)
a=a-2
Study more about Python at Python Class 10
Ask the community — students and mentors are here to help, and you can search past answers too.
1.5k questions
1.4k answers
4 comments
1.3k users