Toggle navigation
Mr. Code's Wild Ride
Mr. Code
Curriculum
Showcase
Python
Math
Games
Typing
Sign in
Tip Calculator
Math
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 4:
Use math operators to calculate the tip, and save it in a variable.
Hint:
To calculate the tip, divide the percent by 100 to get a decimal, and multiply the cost by the decimal.
Last step
Next step
×
Sign in