Respuesta :

Explanation:

I'm assuming that when you mean by range 0 - 100, it is inclusive (meaning 100 and 0 are included). If it isn't, change range(101) to range(1, 100).

Code:

for num in range(101):

   if num % 4 == 0:

       print(num)

The modulo operation '%' finds the remainder of the number being divided. For a number to be divisible by 4, the modulus of the number must be equal to 0 when divided by 4.

Hope this helps :)

ACCESS MORE
EDU ACCESS