[Tutor] change the position and updated
Sarika Shrivastava
sarika1989.08 at gmail.com
Wed Apr 26 02:43:29 EDT 2017
Input :
c=[(12,45),(1234,567),(12345,0),(678,123456)]
#o/p==1425
#o/p==1526374
#0/p==102345
#o/p===617283456
Question explanation:
in list c we have some tuples so I need to take tuple value one by one and
change the position of value like wise
first tuple value (12 ,45) then then 1 we pick up append on 4 So it make
14 after tat 2 we pick and append on 5 so 25 then final o/p is 1425 ,
Please check output also...
--
Best regards,
Sarika Shrivastava
Associate Engineer
Continental Automotive Components (India) Pvt. Ltd.,
8th Floor, Gold Hill Supreme Software Park,
Plot No. 21, 22, 27 & 28, Shanthipura Road,
Electronics City, Phase II, Hosur Road,
Bangalore-560 100
Tel: +919741457409
Mobile: +919741457409
E-Mail: sarika.shrivastava at continental-corporation.com
Web: www.continental-corporation.com
More information about the Tutor
mailing list