Write a function to unpack tuple of minimum 2 value to unlimited length int first two and rest
Topic: Write a function to unpack tuple of minimum 2 value to unlimited length int first two and rest
Solution
def unpack_tuple(tup): a, b , *c = tup return a , b, c
List all Python Programs