input: Write a function to design a web server in Python using the Flask framework that would serve a JSON object containing the current temperature for a city based on the city name given in the request.
  assert get_temp() == {'temperature': 23.5}
  assert get_temp() == {'temperature': 18.2}
  assert get_temp() == {'temperature': 21.7}
  assert get_temp() == {'temperature': 15.4}
  assert get_temp() == {'temperature': 25.0}
output: def get_temp():
      import random
      return {'temperature': round(random.uniform(15.0, 25.0), 1)}