list
tuple
set
Converts an iterable to a tuple.
tuple(iterable?)
Enter values below to update the example in real time.
print
print(tuple([1, 2, 3])) # (1, 2, 3) print(tuple("abc")) # ('a', 'b', 'c')