結果 : python unboundlocalerror cannot access local variable time where it is not associated with a value