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...

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.
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • Spring '18

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors