Answers for "how to calculate a string's lenth in python"

1

how to get the length of a string in python

var = "python is amazing programming language"
print(len(var))
# 38
Posted by: Guest on December-22-2021

Code answers related to "how to calculate a string's lenth in python"

Python Answers by Framework

Browse Popular Code Answers by Language