> For the complete documentation index, see [llms.txt](https://til.devjugal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.devjugal.com/python/convert-list-to-tuple.md).

# Convert List To Tuple

We can convert a list to tuple by just using `tuple(list_name)` in Python program.

## Example

```
>>> list = ["1", "2"]
>>> print(list)
['1', '2']
>>> print(tuple(list))
('1', '2')
```

***Source:*** [***GeeksForGeeks***](https://www.geeksforgeeks.org/python-convert-a-list-into-a-tuple/)
