It would, this is just a matter of me wanting to understand this completely; the way I see it, you don't get good at things by ignoring the parts you don't grasp immediately.
Still, though, there seems to be things I mess up:
I've experimented quite a bit and I know that the list itself looks like it should. For example I did like this:
word = input("Enter word to look up: ")
selection = [item for item in tuplelist if item[0] == word]
if selection:
print
print
print tuplelist
else:
print "Nope"
... and it writes tuplelist exactly the way I want it. But it won't let me indetify the index of a particular tuple.
If I write like this:
word = input("Enter word to look up: ")
selection = [item for item in tuplelist if item[0] == word]
if selection:
print
print
print tuplelist
print
print
print item[1]
else:
print "Nope"
... it evidently recognizes the word I entered (if it wasn't in the list it'd return "Nope", which it doesn't), and prints tuplelist looking good with the right word and description paired together. But it interprets item[1] to be the second part of the
last tuple.
Say for example I've made the three entries
"Hello" and "Greeting"
"No" and "Refusal"
"What" and "Wondering"
the snippet above will return
[('Hello', 'Greeting'), ('No', 'Refusal'), ('What', 'Wondering')]
Wondering
even if I told it to look for the word "Hello". Even if, and this is making me really lost in the fog, I do like this (the same entries in the list as before):
word = input("Enter word to look up: ")
selection = [item for item in tuplelist if item[0] == word]
if selection:
a = tuplelist.index(item)
print
print
print tuplelist[a]
else:
print "Nope"
it simply returns a variation on the above:
[('Hello', 'Greeting'), ('No', 'Refusal'), ('What', 'Wondering')]
('Va', 'Wondering')
So, well, um... help?