assignmentpython unboundlocalerror local variable 'str' referenced before assignmentShare on FacebookShare on Twitter269