Oct-20-2017, 01:20 AM
That's because you haven't defined them in the right scope. Variables defined in one function are not visible in other functions, at least not in Python. You have to explicitly pass them using parameters and return statements. The variables shutoutsA and shutoutsB seem to only get defined in simOneGame. But simOneGame does not return them, so not other function has access to those definitions.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures