-
-
Save codecademydev/5e859d6dd0a95f9f761496fa1a4c024d 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 hotel_cost(night): | |
return 140*night | |
def plane_ride_cost(city): | |
if city=="charlotte": | |
return 183 | |
elif city=="tampa": | |
return 220 | |
elif city=="pittsburg": | |
return 222 | |
elif city=="los angeles": | |
return 475 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment