Обсуждения
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 голосов
8 ответовSQL and PHP problem
1 голос
1 ответsomeone help me?
0 голосов
2 ответовI need Some Nice C++ Projects
0 голосов
2 ответовModule 6 Quiz number 2
0 голосов
1 ответAverage Score
0 голосов
1 ответHow to publish our wedsite
0 голосов
1 ответCode for singly linked list
-3 голосов
1 ответneed script basic for my code
1 голос
1 ответProgram Language
1 голос
3 ответовLine by line
0 голосов
1 ответWHY DOESN’T IT PLOT
0 голосов
1 ответCenter navbar?
0 голосов
2 ответовProblem with padding
0 голосов
2 ответовGregorianCalendar
0 голосов
1 ответGive me a lot of example
-1 голос
2 ответовHow to assign the value?
2 голосов
1 ответPython3.x vs Python2.x
0 голосов
2 ответовDisplay adding products on page
0 голосов
1 ответPost Your Coding Chellange Here
-2 голосов
1 ответhow do I move forward?
0 голосов
2 ответовАктуальное сегодня
Ai generated practices
2 Votes
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
0 Votes
Programming Language
0 Votes
RUST'S FUTURE
1 Votes