<|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 dasturlash tilida kalkulyator yaratish<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Albatta, sizga Python-da oddiy kalkulyator yaratishda yordam beraman. Mana kod: ```python # Kalkulyator def hisoblashni amalga oshirish uchun funksiya belgilash: # Foydalanuvchidan kiritilgan ma'lumotni oling num1 = float ((((((("Birinchi raqamni kiriting: ")) num2 = float ((((" Ikkinchi raqamni kiriting: ")) operator input = (((" Operatsiyani kiriting (+, -, *, /): ") # Hisoblashni if operatoriga asoslangan holda bajaring == "+": result = num1 + num2 elif operatori == "- result = num1 - num2 elif == "* result": operator = num1 * num2 elif operatori == "/ result": num1 / num2 else: print "((((((((((((((((((<|eot_id|>