<filename>leap.py
num = int(input("Enter a number: "))
if (num % 4) == 0:
   print(" leap yr")
else:
   print(" non leap yr")

<filename>leap.py
num = int(input("Enter a number: "))
if (num % 4) == 0:
   print(" leap yr")
else:
   print(" non leap yr")
