homeworkpython local variable 'range' referenced before assignmentShare on FacebookShare on Twitter407