結果 : how to code a tip calculator in python