input: Write a python function to fetch and format weather data for a given location. 
  assert fetch_and_format_weather('London') == 'The current temperature in London is X degrees Celsius.'
  assert fetch_and_format_weather('New York') == 'The current temperature in New York is X degrees Celsius.'
  assert fetch_and_format_weather('Tokyo') == 'The current temperature in Tokyo is X degrees Celsius.'
output: def fetch_and_format_weather(location):
      import requests
      API_KEY = 'your_api_key_here'  # Replace with your actual API key
      BASE_URL = 'http://api.openweathermap.org/data/2.5/weather'
      
      params = {
          'q': location,
          'appid': API_KEY,
          'units': 'metric'
      }
      
      response = requests.get(BASE_URL, params=params)
      data = response.json()
      
      temperature = data['main']['temp']
      return f'The current temperature in {location} is {temperature} degrees Celsius.'