`ast` kutubxonasi skriptni tahlil qilishda avtomatik ravishda sharhlarni olib tashlaydi, shuning uchun bu vazifa faqat bir nechta satr kodni oladi: `ast`python import ast with open('script.py') as f: tree = ast.parse(f.read(print(ast.unparse(tree)) `` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
spam fails_task not_appropriate hate_speech sexual_content moral_judgement political_content toxicity humor violence