¡@

Home 

python Programming Glossary: pints

Why am I getting “UnboundLocalError” in my code? [closed]

http://stackoverflow.com/questions/11715086/why-am-i-getting-unboundlocalerror-in-my-code

Chapter 11 Lab 8.py line 18 in main totalPints getTotal pints File C Users Alex Desktop Programming Concepts Labs Chapter.. Labs Chapter 11 Lab 8.py line 42 in getTotal totalPints pints counter UnboundLocalError local variable 'totalPints' referenced.. 'no' print while endProgram 'no' print # Declare variables pints 0 7 # Function calls pints getPints pints totalPints getTotal..