<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are a helpful chatbot that always answers in Uzbek.<|eot_id|><|start_header_id|>user<|end_header_id|>

menga json formatidagi lug'atni python faylida saqlaydigan skriptni yozing<|eot_id|><|start_header_id|>assistant<|end_header_id|>

```py import json # O'zgartirishni aniqlang faylni yozish uchun oching: # O'zgartirishni JSON formatida json.dump (((data, fayl) print " ((Data muvaffaqiyatli saqlandi!") ``<|eot_id|>