Telegram Group & Telegram Channel
Forwarded from Python 🇺🇦
Трюк із f-strings

Думаю, про f-strings як метод форматування вже всі знають. Вони з'явилися ще в Python 3.6.

А в оновленні 3.8 їм додали ще одну класну фічу — можна виводити ім'я змінної і одночасно її значення, додавши символ так само як показано на малюнку.

#practice // Python 🇺🇦



tg-me.com/python_mem/147
Create:
Last Update:

Трюк із f-strings

Думаю, про f-strings як метод форматування вже всі знають. Вони з'явилися ще в Python 3.6.

А в оновленні 3.8 їм додали ще одну класну фічу — можна виводити ім'я змінної і одночасно її значення, додавши символ так само як показано на малюнку.

#practice // Python 🇺🇦

BY My Python




Share with your friend now:
tg-me.com/python_mem/147

View MORE
Open in Telegram


My Python Telegram | DID YOU KNOW?

Date: |

Dump Scam in Leaked Telegram Chat

A leaked Telegram discussion by 50 so-called crypto influencers has exposed the extraordinary steps they take in order to profit on the back off unsuspecting defi investors. According to a leaked screenshot of the chat, an elaborate plan to defraud defi investors using the worthless “$Few” tokens had been hatched. $Few tokens would be airdropped to some of the influencers who in turn promoted these to unsuspecting followers on Twitter.

My Python from us


Telegram My Python
FROM USA