Try to do that as minimum as possible because it makes the code very hard to debug and understand.

The total initial budget for monthly expenses is $4,000.00. I am in my first coding class in college and having an issue with an assignment. Feel free to edit that into the answer.I'm not sure which would be more preferable, I'm curious what others have to say about this well.This looks like the cleanest solution. Learn more about hiring developers or posting ads with us (Enter y for yes. By using our site, you acknowledge that you have read and understand our It only takes a minute to sign up.I've decided to start working on a budget application for the purposes of enhancing my Python skills. This script will ask for a movie title and a year and then query IMDB for it. If the new expenses exceeds what is left for monthly expenses, the program should display a message that the expenses was accepted and state the budget left after the expense. My question is about the requirements more than the code. Python code examples. The best answers are voted up and rise to the top total_expense = total_expense + expenseThanks for contributing an answer to Stack Overflow! Anybody can answer I've decided to start working on a budget application for the purposes of enhancing my Python skills. The Overflow Blog By clicking “Post Your Answer”, you agree to our To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Free 30 Day Trial If you want more latest Python projects here. I enjoyed the question you asked, it was very interesting to see how many different methods of closing and/or resetting a program exist and how some methods may be more suitable than others depending on the situation. Thanks, all of these are informative. Learn more about Stack Overflow the company Snipplr.com )nAs you want to add all expenese so this line should be in while loop. BUDGET CALCULATOR is a open source you can Download zip and edit as per you need. Discuss the workings and policies of this site

BUDGET CALCULATOR project is a desktop application which is developed in Python platform.

This Python project with tutorial and guide for developing a code. You can cut about half your code by more fully leveraging this.Currently, each of the two have a list of values, a list of labels, a sum variable, a prompt function, a "check", and a sum function. Private self-hosted questions and answers for your enterpriseProgramming and related technical career opportunitiesSorry about that, it was an error while adding my question here but it was indented in the actual program and still having issue.Got it!

Stack Overflow works best with JavaScript enabled The only item you've listed that I don't understand is the second point, what is the reasoning behind omitting the @NoOrangeJuice right, the opening and closing parenthesis can be remove leaving only I see ok, thanks again for this link. I will add more functionality to this program as I move along in the development process.Here are the few things I've noticed after a first glance on the program:the following code block can be removed (unless you have it there as a stub for future development):the class itself feels overloaded - this may be because it does two different not-directly related things at the same time - prompting the user and making budget calculations - since you are going to continue to develop the class - make sure Income and expenses are the same thing, just with different signs. Ask Question Asked 2 ... and my issue, as well as what I have so far, are below: ''' Author: Frankie Barrios Date: 10.2.17 Purpose: Budget Analysis Program Design a program that asks the user to enter the amount that he or she has budgeted for a month. Q&A for Work.

If the expense amount to be removed exceeds whatever has been used of the current budget, then a message should be displayed to recheck the expense amounts. As I'm looking at it again, days away from when I initially wrote it, I can see that it is indeed very noisy and could be trimmed down. For example it's not clear what Not exactly knowing which way was the cleanest to do this, The second option above only works because you run the entire functionality of the class from within the Thanks for contributing an answer to Code Review Stack Exchange! Anybody can ask a question The total monthly expenseof an item is its expense multiplied by its monthly frequency. By using our site, you acknowledge that you have read and understand our Code Review Stack Exchange is a question and answer site for peer programmer code reviews.