input: Write a function to store and query user data in a JSON file. The function should have two methods: one for storing the user data and one for retrieving the user data from the file. If the JSON file does not exist, the retrieval method should handle the error gracefully.
  
  
  import json
  
  def store_user_data(data, file_name='user_data.json'):
      with open(file_name, 'w') as f:
          json.dump(data, f)
  
  def get_user_data(file_name='user_data.json'):
      try:
          with open(file_name) as f:
              return json.load(f)
      except FileNotFoundError:
          return None
  
  assert store_user_data({"Name": "John", "Age": 25, "City": "New York"})==None
  assert get_user_data()=={"Name": "John", "Age": 25, "City": "New York"}
  assert get_user_data('non_existent_file.json')==None
  
output: def store_user_data(data, file_name='user_data.json'):
      with open(file_name, 'w') as f:
          json.dump(data, f)
  
  def get_user_data(file_name='user_data.json'):
      try:
          with open(file_name) as f:
              return json.load(f)
      except FileNotFoundError:
          return None