I have problem which cannot fix. I get the error
UnboundLocalError: local variable 'checking' referenced before assignment
My code
    def volume_checker_first_stage(volume1,volume2,withdraw_minimun):
      if volume1>volume2:
       quantity = volume2
       if quantity > withdraw_minimun:
            checking = True
       return quantity, checking
      elif volume2>volume1:
       quantity = volume1
       if quantity > withdraw_minimun:
              checking = True
       return quantity, checking
      else:
       return None,None
 
     
     
    