Python - Find Length of String

Опубликовано: 12 Январь 2026
на канале: ProgramGuru
223
4

To get the length of a given string in Python, you can use the len() function.
In this video, we cover examples, with 'Hello World' string literal, and 'apple' string literal, and get their string lengths using len() built-in function.

Reference
https://programguru.org/python/how-to...

0:24 Example to get length of 'Hello World' string
0:44 Example to get length of 'apple' string