[Tutor] Convert tuple within tuple into single tuple

ramakrishna reddy rampappula at gmail.com
Wed Jan 11 01:31:54 EST 2017


Hi All,

Is there any way to convert x = (1, 2, 3, (4, 5)) to x = (1, 2, 3, 4, 5) in
python 2.7

Thanks  in advance
Ram.


More information about the Tutor mailing list