Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

#941
Abhishek TyagiAbhishek Tyagi
Keymaster

4. Write a script that prints the multiples of 7 between 0 and 100. Print one multiple per line and avoid printing any numbers that aren’t multiples of 7. Remember that 0 is also a multiple of 7.

Answer-

`for num in range(0,100):

    if(num % 7==0):
      print(num)
    else:
      num= num + 1`