The focus of this lab was to create a program that calculates the cost of taking a vacation using python script. This program uses predetermined values instead of user input. It uses conditional statements if and elif to decide what values are sent to the function that calculates the cost of the trip. This program was a little tricky to write. It didn’t require any knowledge i didn’t already have, but required understanding of how to implement what I’ve already practiced. This was an inspiring lab that gave an example of a program that can be written that is useful in everyday life .I do look forward to taking what was practiced in this lab to create a program that uses input to calculate something like sales tax or like in this program the cost of going away on holiday.
- Write a brief paragraph to introduce yourself to your visitors and explain what they will find on this site. Be sure to add more developed content to your About Me page. (Edit this paragraph in Dashboard > Widgets > Text)
Learning Blog Archives
-
Recent Posts
Categories
- Coursework (1)
- Field Trips (1)
Tags