Concept

tuple()

This function is used to convert to a tuple.

s = 'word' c = tuple(s) print(c)
('w', 'o', 'r', 'd')

0

0

Updated 2021-07-27

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science