6 lines
97 B
Python
6 lines
97 B
Python
|
import re
|
||
|
|
||
|
|
||
|
def is_singing(string):
|
||
|
return bool(re.match("((li|la|lo){2,})([!]*)?", string))
|