You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of the get_nearest_library function is to return name, address and phone number of nearest durham public library branch to the user's address.
arguments received will be the user's street address and zip code in string format, followed by latitude and longitude in float format.
return variables should be in string format and in a dict/key value pair
user address will be verified prior to being passed to the function
completed code can be added here or in a page named get_nearest_library in the python or javascript branch
The starter code above is for Python but feel free to use Javascript instead
Thanks for working on StreetWise!
The text was updated successfully, but these errors were encountered:
The goal of the get_nearest_library function is to return name, address and phone number of nearest durham public library branch to the user's address.
#############STARTER CODE##########################
def get_library_info (street_address, zip, lat, lon):
#TODO
resulting_info = {'name':name,'address':address, 'phone':phone}
return (resulting_info)
###################################################
NOTES:
The starter code above is for Python but feel free to use Javascript instead
Thanks for working on StreetWise!
The text was updated successfully, but these errors were encountered: