Use:
print('To tip 20% the amount is: $ {:.2f}'.format(tip20))Another way is to use
[url=https://docs.python.org/3/library/functions.html#round]round[/url]
.print('To tip 20% the amount is: $',round(tip20,2))