Khamidov 🗽Python

Description
👋Assalomu aleykum men👨‍💻
@Mr_developer616z 👨‍💻

Python developer's channel
Advertising
We recommend to visit

?? O'zbekistondagi N1 Akkaunt Savdo Kanali!

‼️ Eslatma: Kanalimizga Joylanayotgan Akkauntlarning Barchasi Turnirda Yutilgan!

? Kanalga Joylangan Xar Bir Akkauntga "SENATOR" Shaxsan O'zi Javob Beradi!

✍️Admin: @deSENATOR_AKKS ✅ Org ‼

©️SENATOR PUBGM

Last updated 1 year ago

🔔 Reklama: @Edurekadmin


Ta'limda nima yangiliklar?

O'zbekiston ta'lim sferasidagi eng oxirgi va eng dolzarb yangiliklarini aynan shu kanaldan topasiz!

© Kanaldan to'liq yoki qisman ma'lumot olinganda manba ko'rsatilishi shart!

📩 @Edu_murojaatBot

Last updated 1 day, 12 hours ago

Kun davomida eng sara va so'nggi yangiliklar tafsiloti bilan YO'L-YO'LAKAY tanishtirib boramiz.

Voqea va hodisaga guvoh bo‘ldingizmi, videolaringizni bizga yuboring: @yyuzbot

Reklama bo‘yicha: @zorzorads

Instagram sahifamiz: https://bit.ly/3wlZDZH

Last updated 5 days, 4 hours ago

3 months, 2 weeks ago

He yo nma gap

6 months, 1 week ago

Assalomu alaykum aziz kanalimiz a'zolari.
Pythonda sodda matematik o'yin kodi

```

import random
import operator

def errorHandle(problem_answer):
switch = False
validated_guess = 0.0
while switch == False:
try:
validated_guess = float(input('Please enter a valid answer: '))
if type(validated_guess) is float:
switch = True
break
except ValueError:
pass
return validated_guess

def random_problem():
operators = {
'+': operator.add,
'-': operator.sub,
'*': operator.mul,
'/': operator.truediv,
}

num\_1 = random.randint(1, 10) num\_2 = random.randint(1, 10) operation = random.choice(list(operators.keys())) answer = float(round(operators.get(operation)(num\_1, num\_2),3)) print(f'Misolni ishlang {num\_1} {operation} {num\_2}') return answer

def ask_question():
answer = random_problem()
try:
guess = float(input('Javobingizni kiriting: '))
except ValueError:
guess = errorHandle(answer)
return guess == answer

def game():
score = 0
while True:
if ask_question() == True:
score += 1
print("Javobingiz to'g'ri !")
else:
print("Javobingiz noto'g'ri !")
break
print(f"======== O'yin tugadi ========\n Sizning ballingiz {score}\n Davom eting!")

game()

```

Bizdan uzoqlashmang...

6 months, 2 weeks ago

!Yaponiyaga tikanlari tabrikliman.

6 months, 3 weeks ago

~~Bazilarda "cmd"ga qanday kiraman degan savol paydo bo'lshi mumkun unda quydagi postni o'qib chiqing!!!~~
```
Kompyuterizatsiyalangan operatsion tizimlarda, CMD (Command Prompt) yoki Terminal odatda ishni boshlash uchun foydalaniladigan muhim vosita. Ushbu vosita orqali fayllarni boshqarish, dasturlarni boshlash va tarmoq bilan ishlash mumkin.

Windows operatsion tizimida, CMDga kirmoq uchun quyidagi yo'llarni amalga oshirishingiz mumkin:

  1. Bosh Menyu orqali:
    - Bosh menyuning qidiruv qatori ichida "cmd" yoki "Command Prompt" ni qidiring va undan so'ng "Enter" tugmasini bosing.

  2. Windows Iltimoslar tugmasi + R tugmasi:
    - "Windows Iltimoslar" tugmasini va "R" tugmasini birgalikda bosing.
    - Ochiq bo'lgan dastur oynasida "cmd" ni yozing va "Enter" tugmasini bosing.

  3. Tizimni qidiruv qatorida:
    - Tizimni qidiruv qatorini oching ("Windows" tugmasi + "S" tugmasi).
    - "cmd" yoki "Command Prompt" ni qidiring.
    - Qidiruv natijalarida ko'rsatilgan CMD dasturiy vositasini tanlang.

  4. Faylni ochildan ishlatish:
    - Fayl manzil qatorida CMD yoki PowerShell ni ochildan ishlatishingiz mumkin. Fayl manzil qatorini oching va "cmd" yoki "powershell" yozib, "Enter" tugmasini bosing.
    ```
    @Python_BIM ☑️

We recommend to visit

?? O'zbekistondagi N1 Akkaunt Savdo Kanali!

‼️ Eslatma: Kanalimizga Joylanayotgan Akkauntlarning Barchasi Turnirda Yutilgan!

? Kanalga Joylangan Xar Bir Akkauntga "SENATOR" Shaxsan O'zi Javob Beradi!

✍️Admin: @deSENATOR_AKKS ✅ Org ‼

©️SENATOR PUBGM

Last updated 1 year ago

🔔 Reklama: @Edurekadmin


Ta'limda nima yangiliklar?

O'zbekiston ta'lim sferasidagi eng oxirgi va eng dolzarb yangiliklarini aynan shu kanaldan topasiz!

© Kanaldan to'liq yoki qisman ma'lumot olinganda manba ko'rsatilishi shart!

📩 @Edu_murojaatBot

Last updated 1 day, 12 hours ago

Kun davomida eng sara va so'nggi yangiliklar tafsiloti bilan YO'L-YO'LAKAY tanishtirib boramiz.

Voqea va hodisaga guvoh bo‘ldingizmi, videolaringizni bizga yuboring: @yyuzbot

Reklama bo‘yicha: @zorzorads

Instagram sahifamiz: https://bit.ly/3wlZDZH

Last updated 5 days, 4 hours ago