top of page
Search
Rajesh Singh
May 23, 20211 min read
Python program to print 10 even numbers in reverse order
Program: a=20 while a>=2: print(a) a=a-2 Output: 20 18 16 14 12 10 8 6 4 2 Python program to print 10 even numbers in reverse order Video:
8,328 views0 comments
Rajesh Singh
Mar 29, 20201 min read
Python program to print even numbers between 1 to 100.
Python program to print even numbers between 1 to 100. Program: for num in range(1,100): if num%2==0: print (num) Output: 2 4 6 8 10 ; ;...
5,414 views0 comments
Rajesh Singh
Mar 26, 20201 min read
Python Program to Check a Number is Odd or Even ?
Python Program to Check a Number is Odd or Even num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} is Even".format(num))...
157 views0 comments
bottom of page