code: def memory():
      
  
      mem_info = dict()
  
      for k, v in psutil.virtual_memory()._asdict().items():
             mem_info[k] = int(v)
             
      return mem_info
docs: Determine memory specifications of the machine.
  
      Returns
      -------
      mem_info : dictonary
          Holds the current values for the total, free and used memory of the system.