input: Write a function to create a Python neural network model that takes in a given trajectory of stock prices and predicts the stock price for the next day. The function should return the model. Additionally, provide an example usage of the function with a given input trajectory and print the predicted stock price for the next day.
  
  
  assert create_model().__class__ == tf.keras.Sequential
  input_data = np.array([[10, 10.4, 10.5, 10.6, 10.7, 10.9, 11]])
  predictions = create_model().predict(input_data)
  assert predictions.shape == (1, 1)
  
output: def create_model():
      model = tf.keras.Sequential([
          tf.keras.layers.LSTM(50, input_shape=(None, 1)),
          tf.keras.layers.Dense(1)
      ])
      model.compile(optimizer='adam', loss='mse')
      return model