def uid_to_string(uid):
    """
    Convert a UID to a printable string
    :param uid: an uid value of a card
    :return: string version of uid param
    """
    string = ""
    for i in uid:
        string = "%02X" % i + string
    return string