Can somebody please tell me to print the element of z | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can somebody please tell me to print the element of z

I converted g which is in list to str since when I was trying to append the g on v=[] every time the value of g changes so the element also get changed of v...so I converted it to str and concentrated with str v. But now the list become string....and I m not able to find the way to print the elements https://code.sololearn.com/cW17iH0Jc89l/?ref=app

24th Mar 2020, 8:38 PM
SOUMYA
SOUMYA - avatar
4 Answers
+ 6
Oma Falk thank you for helping me to solve the problem
24th Mar 2020, 9:31 PM
SOUMYA
SOUMYA - avatar
+ 5
In this manner if Enter No.=5
24th Mar 2020, 9:03 PM
SOUMYA
SOUMYA - avatar
+ 4
111111111 122222221 123333321 123444321 123454321 123444321 123333321 122222221 111111111
24th Mar 2020, 9:02 PM
SOUMYA
SOUMYA - avatar
24th Mar 2020, 9:20 PM
Oma Falk
Oma Falk - avatar