essayunboundlocalerror local variable 'period' referenced before assignmentShare on FacebookShare on Twitter334