input: 
  def store_and_query_user_data(user_data):
      """ Store user data in a JSON file and then query the data stored to fetch and display it.
      >>> store_and_query_user_data({"Name": "Alice", "Age": 28, "City": "Los Angeles"})
      {'Name': 'Alice', 'Age': 28, 'City': 'Los Angeles'}
      >>> store_and_query_user_data({"Name": "Bob", "Age": 34, "City": "Chicago"})
      {'Name': 'Bob', 'Age': 34, 'City': 'Chicago'}
      """
  
output:     import json
      with open('user_data.json', 'w') as file:
          json.dump(user_data, file)
      
      with open('user_data.json', 'r') as file:
          stored_data = json.load(file)
      
      return stored_data