Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
tuple
tuple
Return a tuple whose items are the same and in the same order as iterable's items.
Python 3.13
tuple
(
iterable
)
Examples
Python 3.13
>>
>
tuple
(
[
1
,
2
,
3
]
)
(
1
,
2
,
3
)