score int excl
Anonymous
python
04/03/2023 5:42 PM
164 B
11
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