0

How to check a character is repeat in the string in python?

11th Apr 2020, 8:01 AM
Ramya Thiurmalisamy
Ramya Thiurmalisamy - avatar
2 Réponses
+ 4
In python, count function returns how many times in it exists in string or lost.. Ex: s="aaaaa" print(s.count('a'))
11th Apr 2020, 8:12 AM
Jayakrishna 🇮🇳