using-len-for-text-but-discarding-spaces-in-the-count

130

using-len-for-text-but-discarding-spaces-in-the-count -

>>> full_name = "John DOE"
>>> len(full_name) - full_name.count(' ')
7

Comments

Submit
0 Comments