10 lines
131 B
Python
10 lines
131 B
Python
import re
|
|
|
|
|
|
def shout(s):
|
|
return s.upper() + '!'
|
|
|
|
|
|
def slugify(s):
|
|
return re.sub(r'[^a-z0-9]+', '-', s.lower()).strip('-')
|