TGTGInsightаналитика telegramLIVE / telegram public index
← [404] — программирование

TGINSIGHT SIMILAR POSTS

Найти похожее

Источник @procode404 · Post #3071 · 21 июн.

​​🐍Стань Python джедаем Плейлист из 20 максимально доступных уроков по Python от популярного русскоязычного ютубера. 1. Введение [12:02] 2. Простые операции [10:31] 3. Работа со строками [15:23] 4. Типы данных, переменные [14:26] 5. Управляющие структуры [25:56] 6. Множественные условия [10:32] 7. Циклы [10:26] Перейти к плейлисту #видео#python

Результаты

Найдено 1 похожих постов

Поиск: #interpolation

当前筛选 #interpolation清除筛选
djangoproject

@djangoproject · Post #435 · 07.09.2017, 13:47

https://www.python.org/dev/peps/pep-0498/ #Interpolation # Python supports multiple ways to format text strings. # These include %-formatting, # str.format(), # and string.Template # The !s, !r, and !a conversions are not strictly required. # Because arbitrary expressions are allowed inside the #f_strings, # this code: »> a = 'some string' »> f'{a!r}' "'some string'" Is identical to: »> f'{repr(a)}' "'some string'" Similarly, !s can be replaced by calls to #str() and !a by calls to #ascii().