• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

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

python
20th Apr 2022, 3:38 PM
galexal
galexal - avatar
1 Answer
+ 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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
HTML
3 Votes
Functions in python
2 Votes
For Mobile app
0 Votes
What’s the One Thing That Helped You Learn Coding Faster?
2 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
Answer please
0 Votes
I need advice
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes