Error: UnboundLocalError: local variable \'generate\' referenced before assignment why it\'s giving me this error?
code
import string import rand