This method returns the length of a string in bytes
Tue Mar 31 2020 06:23:25 GMT+0000 (Coordinated Universal Time)
Saved by @amnacannon #python #python #len #bytesize #strings
The above program will tell us byte size of the string. len(length) function means the length of the string.
https://towardsdatascience.com/30-helpful-python-snippets-that-you-can-learn-in-30-seconds-or-less-69bb49204172
Comments