Going to the theater

What does the following python code print out?

# python code start
wallet = 40
hotdog = 3
coke = 2
movie = 11
pretzel = 7
cash_register = 5

cost = pretzel + movie
wallet = wallet - cost
cash_register = cash_register + cost

print wallet
×

Problem Loading...

Note Loading...

Set Loading...