@@ -0,0 +1,242 @@
+def is_leap(year):%0A    leap = False%0A    %0A    # Write your logic here%0A    if year %25 4 == 0:%0A        if year %25 100 == 0:%0A            if year %25 400 == 0:%0A                leap = True%0A        else:%0A            leap = True%0A        %0A    return leap%0A

Create write_a_function.py