Chapter 4. Python Functions, Modules and …

Convert to List list(x) converts x to tuple with elements that are “iteratable over” in x. If x is a string, string could be iterated over its characters and characters would become the elements of the newly formed list. example.py – Python Program Output : Convert to Set set(x) converts x to tuple … ................
................