Write a function to convert list to tuple


Topic: Write a function to convert list to tuple

Solution

def list2tuple(l):
    return tuple(l)



List all Python Programs