from math import floor bill = float(input("Entry your bill amount: ")) tip = float(input("Entry your tip amount: ")) total = bill * (1 + (tip / 100)) total = total * 100 total = floor(total) total = total / 100 print(f"Your total was ${total}")