Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

Hello guys right now I am kinda of new in python my question is related to the function call len() len() its print out the character but here it's the confusing part, I am working with a list let me explain an example players ['lee', 'bob', 'moe', 'joe'] len(players) 4 why it's giving me 4 item in the list I thought len it counts the characters and if I do this it give me the correct somewhat answer what I am seeking, len(players [-1]) 3
python
0 Votes
8 Answers
4th Jul 2016, 7:06 PM
Talha Khan
Talha Khan - avatar
< Previous1...34Next >
Hot today
Python intermediate help with dictionaries
0 Votes
I'm about to make a complex calculator in python
0 Votes
Marquee
1 Votes
Any Advise?
1 Votes
why is python community is too small in sololearn?
0 Votes
How far do courses go on Sololearn?
0 Votes
Popsacles Aufgabe
1 Votes
Button In C++
1 Votes
C#
0 Votes
%
0 Votes