def compare(lst1, lst2): if len(lst1) != len(lst2): return False elif(lst1[0] == lst2[0]): return compare(lst1[1:],lst2[1:]) Example output: >>>

Posted Date: