Len() and str()


can someone explain to me what a len() does?


Have a look at


len() measures the length of a string. But you can insert a variable in the parenthesis and if the variable is a string then it will also work for that. Someone please correct me if I am wrong, I am new to python :blush: