Whoa

in #imadethis2 years ago (edited)

image.png

print(Welcome to the tip calculator!")
total_bill = float(input("What was the total bill? "))
tip_percent = float(input("What percentage tip would you like to give? 10, 20 or 15? "))
people = int(input("How many people to split the bill? "))
percent = round(total_bill * ((tip_percent / 100) + 1), 2)
ind_bill = round(percent / people, 2)
print(f"Each person should pay ${ind_bill}")

Sort:  

Nice to code 😂

HJAHAHAH

I have signed up for a 100 day code challenge. But I am missing days here and there already.

Hahaha! It becomes Any day code challenge 😂

HAH! yup.

Eventually...