title: how to code the frequency of something that has been deleted by the user in a dictionary?
body: <p>I am running with some issue. I will like to view the number of times a user has delete a value from a key even if the user exits the program, it will still retain that number. So that in future if the user will to delete any values again, it will use the existing number and add on from there. </p>
  
  <p>edited: Just to add. All the dict will be store on a <code>.txt</code> file </p>
  
  <pre><code>dict= {}  #start off with an empty list
  
  key_search = ("Enter to find a key")
  
  if options_choose == 2:
      c = input('Which value would you like to change? ')
      c = change.lower()
  
      if change in list_of_value:
          loc = list_of_value.index(c)
          list_of_value.remove(c)
          correction = input("Enter correction: ")
          correction = correction.lower()
          print(f"value(s) found relating to the key '{key_search}' are:")
          list_of_value.insert(loc, correction)
          list_of_value = dict[key_search]
  
          for key, value in enumerate(list_of_value, 1):
              print(f"{key}.) {value}")
          else:
              print('Entry invalid')
  </code></pre>