def GetAttemptString(attempts):
    """
    Creates the string used to display the current attempt.
    """
    match attempts:
        case 1:
            return "1st"
        case 2:
            return "2nd"
        case 3:
            return "3rd"
        case _:
            return "{}th".format(attempts)