+ 1

What does words[counter] mean?

3rd Sep 2016, 6:16 PM
alex
alex - avatar
1 Answer
+ 1
Depends on what type words is. If it's a list, you get element at counter index, if it's a dict, you get value stored with counter key.
3rd Sep 2016, 6:33 PM
trueneu
trueneu - avatar