code: def localize_datetime(datetime_obj, timezone_name):
      
      return datetime_obj.replace(tzinfo=pytz.utc).astimezone(
          pytz.timezone(timezone_name))
docs: Localizes the given UTC-aligned datetime by the given timezone.
  
      Arguments
      ---------
      datetime_obj : datetime.datetime
          A datetime object decipting a specific point in time, aligned by UTC.
      timezone_name: str
          A string with a name of a timezone.
  
      Returns
      -------
      datetime.datetime
          An datetime object aligned by the given timezone.