Sep-26-2019, 07:13 AM
Hi everyone,
I have a list say suppose,
list= [Mysore,Bangalore,chennai,pune]
In this I want to edit the list like,
edited_list=[Mysore is a beautiful city,Bangalore,chennai,pune]
How can we do this,I tried different methods like insert,append,extend. But that didn't work.
Is there any python inbuilt module. Or how can we do this indexed position editing.
Thank you,
Shruthi LS
I have a list say suppose,
list= [Mysore,Bangalore,chennai,pune]
In this I want to edit the list like,
edited_list=[Mysore is a beautiful city,Bangalore,chennai,pune]
How can we do this,I tried different methods like insert,append,extend. But that didn't work.
Is there any python inbuilt module. Or how can we do this indexed position editing.
Thank you,
Shruthi LS