PyDocs

Nav

Python Runtime Services

tuple

  • tuple(iterable=(), /)
Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple.
If iterable is specified the tuple is initialized from iterable's items.

If the argument is a tuple, the return value is the same object.
Members of tuple

c

count
Return number of occurrences of value.

i

index
Return first index of value.
0 Examples
No examples for builtins/tuple.
See Also
No see-alsos for builtins/tuple
0 Notes
No notes for tuple