projcet 03.py - Course CS101 File Budget Project 03 Author Description This project will implement simple monthly budget Instructions Create a simple

# projcet 03.py - Course CS101 File Budget Project 03 Author...

• 3

This preview shows page 1 - 2 out of 3 pages.

""" Course: CS101 File: Budget Project: 03 Author: Description: This project will implement simple monthly budget. """ """ Instructions: Create a simple monthly budget. 1) Create a simple 6 item budget 2) Each item MUST have three variables: a) Item's name as a string (ie., 'movies', 'food', etc...) b) Yearly amount as an integer (ie., 100) c) Monthly amount as a floating point. (You MUST calculate this value based on yearly amount) For Example for a possible first item in the budget item1 = 'Movies' yearly1 = 1000 monthly1 = yearly1 / 12 The output for the budget with the values above would look like: Monthly Budget ================================================= Item Month Year ================================================= Movies \$ 83.33 \$ 1000 In Summary, for each item in the budget: - create a variable for the item's name - create a variable for yearly amount for the item - create a variable and calculate (use math) the monthly amount based on the year amount 3) There is code provided that creates a random value for the 6th item. You don't need to understand this code, just know that it will create a different random value each time you run the program.

#### You've reached the end of your free preview.

Want to read all 3 pages?

• Spring '18

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern