J
Jeff Wagner
Can someone please explain the following to me:
3
Why is len(str1) = 4 and len(str2) = 3?
If we were to say it's because the len() functions returns the number of elements in a string, then
len(str1) should be = 1
It's a little confusing.
Thanks,
Jeff
3
Why is len(str1) = 4 and len(str2) = 3?
If we were to say it's because the len() functions returns the number of elements in a string, then
len(str1) should be = 1
It's a little confusing.
Thanks,
Jeff