Convert string to tuple
Title
Question
Nothing has been mentioned about how to convert string to tuple and vice-versa.
Python-3.4.3 Sequence-datatypes 13-14 min 0-10 sec
Answers:
You can convert a string to a tuple by using the following syntax;
tuple('mystring')
Login to add comment