+ 8

What does len mean?

18th Nov 2018, 5:02 AM
Zoe
Zoe - avatar
9 Antworten
+ 7
Length of the string. The number of characters
18th Nov 2018, 8:48 AM
Gabriel Vasile
Gabriel Vasile - avatar
+ 7
I think you are talking about python. It used to get the length of an array or a string. Eg: str1 = "abcdef" arr = [1,2,5,3] print(len(str1)) #6 print(len(arr)) #4
18th Nov 2018, 7:38 AM
Seniru
Seniru - avatar
+ 5
new lesson of python🤩
18th Nov 2018, 11:21 AM
Alex
Alex - avatar
+ 3
18th Nov 2018, 7:19 PM
Saul
Saul  - avatar
+ 2
Length of string/array
19th Nov 2018, 5:22 AM
Talha Yaseen
Talha Yaseen - avatar
+ 2
it is gerally abbrevation of lenght
19th Nov 2018, 7:59 AM
Idris Tuna
+ 2
length in python. other languages: ERROR lmao
19th Nov 2018, 9:58 PM
Potato Hacker
Potato Hacker - avatar
+ 2
Thanks for all the feedback!
19th Nov 2018, 10:32 PM
Zoe
Zoe - avatar
+ 1
How would I make a hangman game in Python that shows what letters you've guessed and has dashes for how many characters the secret word is.
18th Nov 2018, 8:49 PM
Zoe
Zoe - avatar