text_plain_output_1.png
x = 3

xs = [3, 1, 2]

xs.append('bar')

x = xs.pop()

def sign(x):
    if x > 0:
        return 'positive'
    elif x < 0:
        return 'negative'
    else:
        return 'zero'
for x in [-1, 0, 1]:
    print(sign(x))