Python 🇺🇦
▪️Вивчаємо Python разом. ▪️Високооплачувана професія ▪️Допомагаємо з пошуком роботи Зв'язок: @Ekater1na_admin
Show more📈 Analytical overview of Telegram channel Python 🇺🇦
Channel Python 🇺🇦 in the Ukrainian language segment is an active participant. Currently, the community unites 20 864 subscribers, ranking 6 480 in the Technologies & Applications category and 2 947 in the Ukraine region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 20 864 subscribers.
According to the latest data from 12 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -180 over the last 30 days and by -7 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.57%. Within the first 24 hours after publication, content typically collects 5.40% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 996 views. Within the first day, a publication typically gains 1 127 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 12.
- Thematic interests: Content is focused on key topics such as шпаргалка, mcp, user1, python'er, бібліотека.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“▪️Вивчаємо Python разом.
▪️Високооплачувана професія
▪️Допомагаємо з пошуком роботи
Зв'язок: @Ekater1na_admin”
Thanks to the high frequency of updates (latest data received on 13 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
inspect подивитися на те, як оголошено вбудовану функцію float, то побачимо, що є вхідний параметр x і ще якийсь незрозумілий слеш.
>>> import inspect
>>>
>>> inspect.signature(float)
<Signature (x=0, /)>
>>>
>>> float('3.8')
3.8
>>> float (x='3.8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: float() takes no keyword arguments
Але при спробі викликати функцію і передати туди іменований, а не позиційний аргумент, отримаємо виняток. А якщо передати аргумент без імені параметра, то все працює.
Така поведінка і задає цей слеш. Параметри, записані до нього, можна передати лише як позиційні. Після нього — як завгодно, все працюватиме стандартно.
#practice // Архів книг // Pythonand та or) мовою програмування Python.
Мова: 🇺🇦
Автор: Дист Освіта
#lessons // Архів книг // Pythonexec потрібна для того, щоб виконувати код, переданий у вигляді рядка. Першим аргументом передається сам рядок, в якому записаний код, а також можна передати ще два опціональні аргументи globals і locals у вигляді словників.
def greeting(name):
print(f'Hello, {name}!')
code = ' ' '
greeting (someone)
' ' '
exec(code, {'greeting': greeting, 'someone': 'John'})
# Output: Hello, John!
В продакшині таке використовувати не рекомендується, тому що подібна штука вкрай небезпечна, але для загального розвитку знати корисно.
#practice // Вакансії IT // Pythondef foo(x):
return True if x else False
return None
print(foo([[]]))
👉 Відповідь
#practice // Вакансії IT // Pythonimport re
def slugify(s):
s = s.lower().strip()
s = re.sub(r'[^\w\s-]',' ', s)
s = re.sub(r'[\s_-]+','-', s)
s = re.sub(r'^-+|-+$',' ', s)
return s
print(slugify('Hello, World!'))
# Output: hello-world
Ми написали просту функцію, де використовували методи lower() для приведення в нижній регістр та strip() для видалення пробілів ліворуч і праворуч.
Також для видалення деяких символів та заміни на знак дефісу були використані регулярні вирази та вбудований пакет re для роботи з ними.
#practice // Архів книг // Pythonget у словниках. Його основний плюс полягає в тому, що він приймає опціональний аргумент, який відповідає за значення за промовчанням.
a = { 'max': 200 }
b = { 'min': 100, 'max': 250 }
c = { 'min': 50 }
a['min'] + b['min'] + c['min'] # throws KeyError
a.get('min', 0) + b.get('min', 0) + c.get('min', 0) # 150
Таким чином, якщо значення ключа не знайдено, то повернеться дефолтне значення. У результаті — ми прибираємо можливі помилки у тому разі, якщо потрібних ключів у словнику немає.
#practice // Архів книг // Python
Available now! Telegram Research 2025 — the year's key insights 
