Tip Calculator Lab #1

The Total

In this first lab we had to use the coding language Python. Using the this language, we were able to calculate the tax and tip of a certain meal. I had to apply commands learned previously on the tutorial into a restaurant meal as well as those learned on the lecture. The screenshots above show the process of calculating the final cost of the meal. The codes written had purpose of their own, doing a different job each.

The tough part was getting an error, finding it, and fixing it. Most errors I got were syntax error, which told I had to revise the structure of functions. Overall the lab was easy to understand, if followed the instructions correctly.

Comments are closed.