write python program to check whether a number is divisible by 7 or not

 write python program to check whether a number is divisible by 7 or not

num=int(input("enter a number")

  if num%7==0:

       print("number is divisible")

else:

      print("number is not divisible")

Comments