KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Sorry in advance, but I'm new to Python. I have a list of tuples , and I was wondering how I can reference, say, the first element of each tuple within the list. I would think it's something like for i in number_of_tuples : first_element = myList[i[0]] you know, [list_element[tuple_element]] ? However, this doesn't appear to be the right approach. Any help would be greatly appreciated. Thanks, Turner
Tags (comma-separated)
Save Edits
Cancel