Write a program to convert list to tuple


Topic: Write a program to convert list to tuple

Solution

l = ['a',4,5]
print(f'tuple:{tuple(l)}')



List all Python Programs