Python Forum
Indexed position editing of a lst
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indexed position editing of a lst
#1
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
Reply


Messages In This Thread
Indexed position editing of a lst - by ShruthiLS - Sep-26-2019, 07:13 AM
RE: Indexed position editing of a lst - by buran - Sep-26-2019, 07:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Operations on indexed variables in loop Fibulavie 1 1,897 Aug-14-2019, 06:07 AM
Last Post: fishhook
  If you deque a list, can it still be indexed? netrate 6 9,987 Nov-07-2016, 12:19 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020