TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Python 3 – String Manipulation and Formatting
2 points
by
satyajugran
over 5 years ago
1 comment
eesmith
over 5 years ago
<p><pre><code> Returns the total number of characters in a string print(s.count("")) </code></pre> That should be len(s). Note, for example:<p><pre><code> >>> "A".count("") 2</code></pre>