top of page
Writer's pictureRajesh Singh

Python program to print even numbers between 1 to 100.

Updated: Jul 17, 2021


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

;

;

;

;

98

Python program to print even numbers between 1 to 100 Video:





5,414 views0 comments

Recent Posts

See All

Comentarios


bottom of page