This short tip program crashes when the user types 40.
40
Which change makes it work?
Once you get it right, the reasoning behind the answer shows up here.
Select all that apply.
Change line 2 to tip = float(bill) * 0.1
tip = float(bill) * 0.1
Change line 3 to total = bill + tip
total = bill + tip
Change line 4 to print("Total: $", total)
print("Total: $", total)
Change line 1 to bill = input("Bill total? " * 0.1)
bill = input("Bill total? " * 0.1)