25 lines
582 B
Python
Executable File
25 lines
582 B
Python
Executable File
|
|
|
|
|
|
|
|
|
|
|
|
"""import json
|
|
print(json.load(open("censorship.json")))"""
|
|
|
|
|
|
|
|
"""import string
|
|
stroka = "&&&&l?.,o$$&&&x"
|
|
print(stroka.translate(str.maketrans("x", "l", string.punctuation)))
|
|
# x - что менять l - на что менять string.punctuation - что вовсе удалить
|
|
# // string.punctuation - это вся пунктуация, то есть удаляется вся пунктуация"""
|
|
|
|
|
|
"""import time
|
|
print(time.time())"""
|
|
|
|
|
|
"""import datetime
|
|
print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M')) # 2022-04-06 19:34"""
|