Control flow / Conditional statements / if/else statements

from random import randint


def get_latitude():
    return randint(-9090)


latitude = get_latitude()

# not recommended with parentheses
if (latitude == 0):
    location = "Equator"
elif (latitude < 0):
    location = "Southern Hemisphere"
else:
    location = "North Hemisphere"

print(f"{latitude = }")
print(f"{location = }")