This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| def area_of_circle(r): | |
| return math.pi * r * r | |
| def is_leap_year(year): | |
| if (year % 400 == 0) or (year % 4 == 0 and year % 100 != 0): | |
| return True | |
| return False |