KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
mylist = ["aa123", "bb2322", "aa354", "cc332", "ab334", "333aa"] I need the index position of all items that contain 'aa' . I'm having trouble combining enumerate() with partial string matching. I'm not even sure if I should be using enumerate. I just need to return the index positions: 0,2,5
Tags (comma-separated)
Save Edits
Cancel