Sesiones de PyR
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
0 Votos
8 RespuestasNeed help with for loops
2 Votos
4 RespuestasInputs and lists
0 Votos
2 RespuestasModule 2 Quiz
-1 Voto
1 RespuestaCS Memory leak?
1 Voto
2 RespuestasEn tendencia hoy
Web Development
3 Votes
Cybersecurity techies
4 Votes
Please complete this code.
0 Votes
What's wrong with code?
0 Votes
Please answer.
0 Votes
Introduction of html
0 Votes
Money Back
0 Votes
CSS or Tailwind
1 Votes
Singly linked list
0 Votes