User Profile

Collapse

Profile Sidebar

Collapse
Ron Schleimer
Ron Schleimer
Last Activity: Nov 22 '11, 04:24 PM
Joined: Nov 17 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ron Schleimer
    started a topic An endless loop

    An endless loop

    I am writing a program for my beginning program class as a final project. I got it all done, except when I run through a module, it causes an endless loop through the same module. Maybe I need a way to clear the choice () every time it runs.

    Code:
    #This program will help a person keep their budget
    totalBudget = 4000
    
    #the main function
    def main ():
        print 'Welcome to my personal budget calculator'
    ...
    See more | Go to post
    Last edited by miller; Nov 22 '11, 05:47 AM.

  • Ron Schleimer
    started a topic Global Variables

    Global Variables

    For a school project, I have to write a budget calculator that will give a menu of adding expenses, removing expenses, adding income and removing income. I have written each a module within my program. And I have the main module saying the original total budget is $4000. How would I make it so that if I were to add or remove from this amount, the other modules would be able to use this adjusted amount?
    See more | Go to post
No activity results to display
Show More
Working...