Build a Bill Splitter - Step 4

Tell us what’s happening:

it’s not leting me submit my code
running_total = 0

num_of_friends = 4

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

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

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+main_courses+desserts+drinks
)
print('Total bill so far:', str(running_total))

# 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/145.0.0.0 Safari/537.36

Challenge Information:

Build a Bill Splitter - Step 4

Welcome to the forum @mank !

Look closely at the values you are adding to get the running_total. Is there something extra there?

In your print(), were you asked to apply the str method?

Happy coding!

thanks just fixed that and still not letting me proceed

running_total += (appetizers+main_courses+desserts+drinks

)

print('Total bill so far: ',running_total)

Try adding back the space between the comma and running_total.

remove the space inside the string, after the :