This List slicing made me crazy😵 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

This List slicing made me crazy😵

Look at list arr its my input which is list with 1 elements having multiple inputs needed in that 1 one element anyone know how to make it like output required or at least way to access it Plz have look on this to understand my question>>>>>>>>>> https://code.sololearn.com/cRcr0h9XTJt0/?ref=app

20th Aug 2020, 5:01 PM
Pratik Shinde
Pratik Shinde - avatar
8 Answers
+ 2
~ swim ~ i got different way from you thanks
20th Aug 2020, 6:52 PM
Pratik Shinde
Pratik Shinde - avatar
+ 2
Got it thanks ⚡
20th Aug 2020, 7:15 PM
Pratik Shinde
Pratik Shinde - avatar
+ 2
You can replace "(" ")" thies two string with thies "" and then u can split by "," then u need to create a new list but thies takes long time to do it
22nd Aug 2020, 5:33 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 1
~ swim ~ but why eval is dangerous there is any disadvantage in using I am curious to learn new things🤔
20th Aug 2020, 6:55 PM
Pratik Shinde
Pratik Shinde - avatar
0
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤ Yes correct but how to convert it in that form
20th Aug 2020, 6:02 PM
Pratik Shinde
Pratik Shinde - avatar
0
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤ Form of output required because its 1 single piece in arr I need to break it how to do help plz
20th Aug 2020, 6:10 PM
Pratik Shinde
Pratik Shinde - avatar
0
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤ Thank you very much I am beginner i was not know about " eval "
20th Aug 2020, 6:23 PM
Pratik Shinde
Pratik Shinde - avatar
0
HI
22nd Aug 2020, 6:10 AM
Rham Mohamed
Rham Mohamed - avatar