def translate_weather_code(weather_code):
    """
    translate weather code into a character
    """
    if weather_code == 1:
        return 'S'  # Sunny
    elif weather_code == 2:
        return 'R'  # Rainy
    elif weather_code == 3:
        return 'L'  # Cloudy
    elif weather_code == 4:
        return 'W'  # Snowy
    else:
        return '-'