[Solved] : Question 12756

Python 2.7
‘count’ is a list.
len(count): 216
count[26]: ’20’
count.index(’20’): 142
count[142]: 167

I thought count.index(’20’) should find the value of ’20’ in the list and return the index of ’26’. What am I missing?

Expert Answer

Answer to : Question 12756

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?