<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def padded_to_same_length(seq1, seq2, item=0):
 """Return a pair of sequences of the same length by padding the shorter sequence with ``item``. The padded sequence is a tuple. The unpadded sequence is returned as-is. """

    len1, len2 = len(seq1), len(seq2)
    if len1 == len2:
        return (seq1, seq2)
    elif len1 < len2:
        return (cons.ed(seq1, yield_n(len2-len1, item)), seq2)
    else:
        return (seq1, cons.ed(seq2, yield_n(len1-len2, item)))