UnboundLocalError - code is short & simple
System Specs: Python version = 2.6.1 IDLE Computer = Win-XP, SP2 (current with all windows updates) Greetings: I have written code for two things: 1) simulate a coin toss, and 2) assign the toss result to
UnboundLocalError - (code is short & simple)
Python version = 2.6.1 IDLE Computer = Win-XP, SP2 (current with all windows updates) --- Greetings: I have written code for two things: 1) simulate a coin toss, and 2) assign the toss result to a winner. Code for the simulated coin t