Question: python code 15. Write a function to calculate tips. It should have two parameters, one for total amount and one for tip percentage to use.
python code
15. Write a function to calculate tips. It should have two parameters, one for total amount and one for tip percentage to use. Make the default percentage 15%, using default parameter value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
