Build a Bill Splitter - Step 4

Tell us what’s happening:

I have done all it has told me to do down to the letter and it is telling me to add stuff that is already there it is telling me to update the running total and use += once I did both and it still won’t let me pass.

Your code so far

running_total = 0

num_of_friends = 4

appetizers = 37.89
main_courses = 57.34
desserts = 39.39
drinks = 64.21


# User Editable Region

total = 0 
total += appetizers + main_courses + desserts + drinks + running_total
print(total) # Output total is now 198.82

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Build a Bill Splitter - Step 4

Welcome to the forum @lat1162011!

Use the += operator once to add appetizers , main_courses , desserts , and drinks to running_total .

The instruction is asking you to update the running_total variable to sum the food item amounts using the += operator. Instead, you are using a total variable that was given in the example.

Please reset this step and try again.

Happy coding!