def get_week_day(integer):
    """
    Getting weekday given an integer
    """
    if integer == 0:
        return "Monday"
    if integer == 1:
        return "Tuesday"
    if integer == 2:
        return "Wednesday"
    if integer == 3:
        return "Thursday"
    if integer == 4:
        return "Friday"
    if integer == 5:
        return "Saturday"
    if integer == 6:
        return "Sunday"