def user_feedback_rating(x):
    """Function to create an emoji's star rating format given intervals"""

    if x <= 100:
        x = '⭐'

    elif (x > 100) & (x <= 499):
        x = '⭐⭐'

    elif (x > 499) & (x <= 999):
        x = '⭐⭐⭐'

    elif (x > 999) & (x <= 4999):
        x = '⭐⭐⭐⭐'

    elif x > 4999:
        x = '⭐⭐⭐⭐⭐'

    else:
        x = 'No rating'

    return x