You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
numbers_to_remove = list(itertools.chain.from_iterable([[i if i==j else "-1" for i in str(n1)] for j in str(n2)]))
return [[int(str(n1).replace(number,"",1)), int(str(n2).replace(number,"",1))] if number!="-1" and number!="0" else [-1] for number in numbers_to_remove]