python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How get corresponding element in sub list based on input element from the same list python
I've list like this.
list=[[['name1','name2'],[n1,n2]], [['name3','name4'],[n3,n4]]]
I want to get n1 if input is name1
similarly if input if name3 then output should be n3
Note: name1-Type str
...

Bhargav
Votes: 0
Answers: 3
How to convert numeric string from a sublist in Python
I'm a freshie. I would like to convert a numeric string into int from a sublist in Python. But not getting accurate results. 😔
countitem = 0
list_samp = [['1','2','blue'],['1','66','green'],['1','88'...
glowbt
Votes: 0
Answers: 3
Linked lists: Why isn't my recursive sublist checker working?
The idea is to find segments of the second linked list that are identical to the first linked list, and add whichever node directly follows to a list that will be returned. So, if my first linked list...

Josh Boulton
Votes: 0
Answers: 2