Answers for "python get num chars"

0

python get num chars

mystr = "This is my string"
count = mystr.count(i)
# count = 3
Posted by: Guest on February-10-2022

Python Answers by Framework

Browse Popular Code Answers by Language