x = 2024
if ( x % 4 == 0 ) :
if ( x%100 == 0 ) :
if ( x%400 == 0 ) :
print("leap year")
else:
print("not leap year")
else :
print("leap year")
else:
print("not leap year")
email = "[email protected]"
if ( len(email) > 10 ) :
if ( email[-10:] == "@gmail.com"):
print("email is valid")
else :
print("Invalid email")
else :
print("Invalid email")
