Tell us what’s happening:
i am trying to build a bill splitter but i am stuck in the 7 step for long time. I am not able to understand where i had gone wrong as i had followed the same instruction given there . please help me sort this out ASAP
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 += 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)
# User Editable Region
final_bill = running_total / number_of_friends
# 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/149.0.0.0 Safari/537.36
Challenge Information:
Build a Bill Splitter - Step 7