• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
+ 1

Python: (“%s%i”)%(“1”, 2) == “12” Why?

python
20th Apr 2022, 3:38 PM
galexal
galexal - avatar
1 ответ
+ 6
It's one of the string formating methods https://www.learnpython.org/en/String_Formatting
20th Apr 2022, 3:50 PM
Simba
Simba - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Paint costs
1 Votes
Learning Python - Question
1 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes