Build a Bill Splitter - Step 4

Tell us what’s happening:

im doing exactly what it is asking and it just refuses to let me pass i have done every single thing that i can think of and i even took out the space to replace it with a comma. Nothing i try here works

Your code so far

running_total = 0

num_of_friends = 4

appetizers = 37.89
main_courses = 57.34
desserts = 39.39
drinks = 64.21
running_total += 37.89 + 57.34 + 39.39 + 64.21
print(f'Total Bill so far:',running_total)

# User Editable Region



# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 OPR/131.0.0.0 (Edition std-1)

Challenge Information:

Build a Bill Splitter - Step 4

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-bill-splitter/6982684f3a25f379e195a5fc.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @DylanJGoracke!

Here’s an excerpt from the instructions:

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

Should you be adding the value of the variables, or should you be adding the variables?

Please also review this theory lecture about how to add a variable in an f-string:

Introduction to Strings - What Are String Concatenation and String Interpolation? | Learn | freeCodeCamp.org

Happy coding!