Python Refresher

Python in a Weekend - Variables and Ints and Floats

Make a variable called wallet that holds how much money you have in your wallet and print how much money you’d have left if you spent half your money.

Solution

                    wallet = 23.50

print(wallet / 2)
                

Here's some courses you might like: