<|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|>

Python bilan dastur yozing. Agar menda iz qoldiradigan toshbaqa bo'lsa, uni to'g'ri ko'pburchak chizishiga qanday erishaman?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Quyidagi moduli yordamida to'g'ri ko'pburchakni chizishning bir usuli: ``type=python import turtle r = 100 # Ko'pburchak atrofidagi aylanmaning radiusi n = 3 # Ko'pburchakning qirrali soni turtle.circle(radius=r, steps=n) turtle.done() ``` Ushbu misolda `turtle.circle` usuli ko'pburchakni chizish uchun ishlatiladi.<|eot_id|>