def risk_level(value):
    """
    Returns a string based risk level from a number.
    1: Low
    2: Medium
    3: Medium
    4: High
    """

    if value == 1:
        return 'low'

    if value == 2 or value == 3:
        return 'medium'

    if value == 4:
        return 'high'