Last active
May 5, 2020 05:02
-
-
Save raeq/183f5649bd8f71a3e1f4500b5bcc1d00 to your computer and use it in GitHub Desktop.
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 geolocation(landmark): | |
if landmark == "Eiffel": | |
return 48.858093, 2.294694 | |
elif landmark == "Statue": | |
return 40.689247, -74.044502 | |
elif landmark == "Opera": | |
return -33.858611, 151.214167 | |
else: | |
return 0, 0 | |
print (f"Eiffel: {geolocation(landmark='Eiffel')} ") | |
print (f"Statue: {geolocation(landmark='Statue')} ") | |
print (f"Opera: {geolocation(landmark='Opera')} ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment