Post

@PythonPr Answer: 5
Solution: len is a built-in function to calculate the length of the object.
"Hello" is a string of 5 characters. So, its length is 5.
Thus, len("Hello") gives 5. That is what gets printed.
English

@PythonPr the 90% of people should know that "len()" is for "length", so the length of "Hello" is 5 😊
English

@PythonPr B ... len() is the length of a string
English

@PythonPr Before talking about the Len() you need to understand that python treats every string as an array of character. Yes. That means every char is its own individual string within a collection. So the Len() count this individual strings within the collection and return is length.
English

@PythonPr Len, count the number of digit/alphabet, list or set in the string.
So the answer is 5
English

@PythonPr 5 — unless we're in a parallel universe where 'Hello' lost a letter😀😀
English




















