from random import randint
def get_latitude():
return randint(-90, 90)
latitude = get_latitude()
# Checked top down: the first true branch runs
if latitude == 0:
location = "Equator"
elif latitude < 0:
location = "Southern Hemisphere"
else:
location = "Northern Hemisphere"
print(f"{latitude = }")
print(f"{location = }")