Problem: We are given a tuple and is asked to convert it into a list in python.

Tuple to List in Python

To convert a tuple to list we need to use list() method with given tuple as a parameter.

Output

List to Tuple in Python

To convert a list to tuple we need to use tuple() method with given list as a parameter.

Output

Comment below any suggestion you have.

Leave a Reply

Close Menu