Tip Calculator

Step 6: Show the tip and total cost to the user. Format both to two decimal places for the cents.
Hint: Use :.2f to format a number to two decimal places:
print(f"\nTip: ${your_variable:.2f}")
Last step Next section