local variable 'currentseed' referenced before assignment python code example
Example: python local variable referenced before assignment
variable = "Hello"
def function():
global variable
print(variable)
function()
variable = "Hello"
def function():
global variable
print(variable)
function()