User Profile

Collapse

Profile Sidebar

Collapse
michaelw209
michaelw209
Last Activity: Feb 26 '10, 03:51 PM
Joined: Feb 26 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • michaelw209
    replied to UnboundLocalError - Please help
    Thank you for your help. I'll try those, hope it works.
    See more | Go to post

    Leave a comment:


  • michaelw209
    started a topic UnboundLocalError - Please help

    UnboundLocalError - Please help

    How do I fix this? It's just an assignment for school bit it's driving me crazy. low, med, and high are supposed to be initialized at there starting values only once before the loop begins, but it won't work, here's the data.

    Code:
    def main():
        choice = 0
        high = 3000.0
        med = 5000.0
        low = 9000.0
        priority = 0
        size = 0.0
        frequency = 0
    
        
        while
    ...
    See more | Go to post
    Last edited by bvdet; Feb 26 '10, 03:56 AM. Reason: Add code tags
No activity results to display
Show More
Working...