-
-
Save codecademydev/d41a437548d1e3407a8374861b55ed44 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains 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
def calculate_age(current_year, birth_year): | |
age = current_year - birth_year | |
return age | |
calculate_age(current_year= 2018, birth_year = 1993) | |
my_age = 2018 - 1993 | |
calculate_age(current_year= 2018, birth_year = 1953) | |
dads_age = 2018 - 1953 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment