print(1)
#print(2) #シャープを付けることでコメントアウトが行える
print(3)
def mkdict0(lst):
d = {}
rlist = lst
for i, s in enumerate(lst):
rlist[i] = str(i + 1)
d[s] = rlist[i]
return d
d0 = mkdict0(['a', 'b', 'c', 'd'])
print("d0=", d0) # {'a': 1, 'b': 2, 'c': 3, 'd': 4}
def del_ch(word):
characters = "\",?.!:"
for x in range(len(characters)):
word = word.replace(characters[x],"")
return str(word).lower()
print("del_ch=", del_ch('A!b.c:d"e?f,g')) # abcdefg