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

113

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