total_price = 0 new_sneakers = 50.00 total_price += new_sneakers nice_sweater = 39.00 fun_books = 20.00 # Update total_price here: total_price += nice_sweater total_price += fun_books print("The total price is", total_price)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter