Telegram Group & Telegram Channel
Python dasturlash maktabi
Testlarni guruhlarga ulashing! 🗓MUNDARIJA: --------------------------- ⭕️ 1-bo'lim “Asosiy tushunchalar” Ⓜ️ Python nima? Ⓜ️ Birinchi dastur Ⓜ️ Oddiy operatsiyalar Ⓜ️ Haqiqiy sonlar Ⓜ️ Matnlar (strings) Ⓜ️ O'zgaruvchilar (Variables) Ⓜ️ Ma'lumotlarni olish…
Ⓜ️ Ma'lumotlarni olish input()

Pythonda foydalanuvchidan ma'lumot olish uchun siz intuitiv nomlangan input() (kirish) funktsiyasidan foydalanishingiz mumkin.

Masalan foydalanuvchilarni ro'yxatga olish namuna kodi:

>>> ism = input("Ismingizni yozing: ")
>>> familiya = input("Familiyangizni yozing: ")
>>> print("Foydalanuvchi: " + ism + " " + familiya)
Ismingizni yozing: Brian
Familiyangizni yozing: Tracy
Foydalanuvchi: Brian Tracy

Matnlardan boshqa turdagi ma'lumotlar olish uchun ma'lumot turini ko'rsatish shart.Namuna:

>>> radius = input("Aylana radiusini kiriting (sm)? ")
>>> formula = 2 * 3.14 * int(radius)
>>> print("Aylana uzunligi: " + str(formula) + " sm")
Aylana uzunligi: 12.56 sm



tg-me.com/pythonuz/334
Create:
Last Update:

Ⓜ️ Ma'lumotlarni olish input()

Pythonda foydalanuvchidan ma'lumot olish uchun siz intuitiv nomlangan input() (kirish) funktsiyasidan foydalanishingiz mumkin.

Masalan foydalanuvchilarni ro'yxatga olish namuna kodi:

>>> ism = input("Ismingizni yozing: ")
>>> familiya = input("Familiyangizni yozing: ")
>>> print("Foydalanuvchi: " + ism + " " + familiya)
Ismingizni yozing: Brian
Familiyangizni yozing: Tracy
Foydalanuvchi: Brian Tracy

Matnlardan boshqa turdagi ma'lumotlar olish uchun ma'lumot turini ko'rsatish shart.Namuna:

>>> radius = input("Aylana radiusini kiriting (sm)? ")
>>> formula = 2 * 3.14 * int(radius)
>>> print("Aylana uzunligi: " + str(formula) + " sm")
Aylana uzunligi: 12.56 sm

BY Python dasturlash maktabi


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonuz/334

View MORE
Open in Telegram


Python dasturlash maktabi Telegram | DID YOU KNOW?

Date: |

Telegram has exploded as a hub for cybercriminals looking to buy, sell and share stolen data and hacking tools, new research shows, as the messaging app emerges as an alternative to the dark web.An investigation by cyber intelligence group Cyberint, together with the Financial Times, found a ballooning network of hackers sharing data leaks on the popular messaging platform, sometimes in channels with tens of thousands of subscribers, lured by its ease of use and light-touch moderation.

That strategy is the acquisition of a value-priced company by a growth company. Using the growth company's higher-priced stock for the acquisition can produce outsized revenue and earnings growth. Even better is the use of cash, particularly in a growth period when financial aggressiveness is accepted and even positively viewed.he key public rationale behind this strategy is synergy - the 1+1=3 view. In many cases, synergy does occur and is valuable. However, in other cases, particularly as the strategy gains popularity, it doesn't. Joining two different organizations, workforces and cultures is a challenge. Simply putting two separate organizations together necessarily creates disruptions and conflicts that can undermine both operations.

Python dasturlash maktabi from us


Telegram Python dasturlash maktabi
FROM USA