Build a Bill Splitter - Step 4

Tell us what’s happening:

I’ve tried doing everything, but this is the only wat in which I get the 198. yada yada answer. I can’t add the total bill so far, it messes it all up.

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
running_total += appetizers + main_courses + desserts + drinks

print(running_total) 
# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6.2 Safari/605.1.15

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 @semradovaemma,

Please show how you are trying to add the given text in your print function.

Happy coding

I figured it out, but thank you!