score int excl
unknown
python
3 years ago
122 B
7
Indexable
def ponctuation_score(text):
num_excl = text.count("!")
num_int = text.count("?")
return num_excl - num_intEditor is loading...
def ponctuation_score(text):
num_excl = text.count("!")
num_int = text.count("?")
return num_excl - num_int