Help me in solving CONF6 problem explanation

My issue

My code

a = 15
if (a%7 == 0)and (a%5 == 0): #%is the sign of modulo
  print("The number is divisible by both 5 & 7")
else:
  print("The number is not divisible by both 5 & 7")

b = 35
if (b%7 == 0) and(b%5 == 0): #%is the sign of modulo
  print("The number is divisible by both 5 & 7")
else:
  print("The number is not divisible by both 5 & 7")


Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone