Python Forum
isolating part of elemnnt in a list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
isolating part of elemnnt in a list
#1
this is a list

[['1 A'], ['2 B']]

what I want to do is get at the number, add another number to it, and put it back together with the new number value.

I am learning Python on my own, so am just looking for a pointer in the right direction on how to how to pull that number out, as no basic SPLIT seems to account for this type of list setup.

I can provide more info if needed.

Thanks for any info.

moderator: feel free to correct TITLE spelling error of "element" for future search
Reply


Messages In This Thread
isolating part of elemnnt in a list - by trepaning - Oct-29-2016, 04:06 PM
RE: isolating part of elemnnt in a list - by Yoriz - Oct-29-2016, 04:31 PM
RE: isolating part of elemnnt in a list - by buran - Oct-29-2016, 04:33 PM
RE: isolating part of elemnnt in a list - by Yoriz - Oct-29-2016, 08:49 PM
RE: isolating part of elemnnt in a list - by Yoriz - Oct-29-2016, 09:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding List Element if Second part of the List Elements are the Same quest_ 3 2,528 Nov-25-2020, 04:33 PM
Last Post: bowlofred
  Select a part of an element of a list with Index BollerwagenIng 0 1,886 Aug-09-2019, 09:27 AM
Last Post: BollerwagenIng

Forum Jump:

User Panel Messages

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