Cursos
Iniciar sesiónComenzar a aprender IA
Cursos
Iniciar sesiónComenzar a aprender IA

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
python
0 Votos
8 Respuestas
4th Jul 2016, 7:06 PM
Talha Khan
Talha Khan - avatar
< Anterior1...34Siguiente >
En tendencia hoy
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Fill in the blank to declare a static variable.
0 Votes
Marquee
1 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes