Write a python program to print the numbers from 0 to 100 which is divisible by 4 using while loop.

 

                                        Write a python program to determine whether a person is eligible to vote.

Write a python program to print the numbers from 0 to 100 which is divisible by 4 using while loop.

PROGRAM:

i=0

while (i<=100):

    print(i,end=" ")

    i=i+4

OUTPUT:

No comments:

Post a Comment




Copyright Ⓒ 2022 | Mechpedia | All Right Reserved.