repl.it
@anonymous/

SpecificIndigoOperatingsystem

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import string


def sanitize(s):
    return "#" + s.lower().translate(str.maketrans('', '', string.punctuation)).replace(' ', '-')


while True:
    st = input('Enter header: ')
    print('\n')
    print(sanitize(st))
    print('\n')
Fetching token
?