Build a Bill Splitter - Step 7

Tell us what’s happening:

My print code is correct but the site says otherwise. I added everything it said to the print but it says it is wrong. even the output in the terminal is correct!

Your code so far

# User Editable Region
appetizers = 37.89
main_courses = 57.34
desserts = 39.39
drinks = 64.21

running_total = appetizers + main_courses + desserts + drinks
print('Total bill so far:', running_total)

tip = running_total * 0.25
print('Tip amount:', tip)

running_total += tip
print('Total with tip:', running_total)
num_of_friends = 2
final_bill = running_total / num_of_friends



print('Bill per person:', str(final_bill))
# 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/150.0.0.0 Safari/537.36

Challenge Information:

Build a Bill Splitter - Step 7

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

Welcome to the forum @ekberhus2008,

It looks like you may have changed the starting code in areas you were not asked to change, which will cause the tests to fail. Please click the reset button to restore the original code and try again.

image

Happy coding