+ 1

I don't understand the len code can you explain me?

28th Nov 2018, 1:58 PM
Locustbean
Locustbean - avatar
6 odpowiedzi
+ 9
The len() function in Python is short for length and returns the number of items in an object. If it's a string value, it returns the number of characters.
28th Nov 2018, 2:17 PM
David Carroll
David Carroll - avatar
+ 6
Hello, 😊 Can you specifying your question correctly! Use the search bar! https://www.sololearn.com/post/10362/?ref=app Please, read our guidelines: https://www.sololearn.com/discuss/1316935/?ref=app An useful code for any new user here!;) https://code.sololearn.com/WvG0MJq2dQ6y/
28th Nov 2018, 2:12 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 2
Hi! I'm afraid I don't know which code you are referring to. Could you please save it in Code Playground and share a link? Thanks.
28th Nov 2018, 2:03 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 2
thank you David Carroll
28th Nov 2018, 2:19 PM
Locustbean
Locustbean - avatar
28th Nov 2018, 2:13 PM
Locustbean
Locustbean - avatar
0
returns the length of the string, or characters in those terms
17th Jan 2019, 8:32 AM
Markpeach96
Markpeach96 - avatar