String Formatting with %, Part 1


Please leave the following link in the post so we can find the unit module, else replace it with a link to the exact lesson:

Strings and Console Output
guys i’m not able to understand String Formatting with %,
please give detailed explanation


using %s (for string) and %d (for number) acts as placeholders for variables, then after the string we can provide the variable we promised the placeholders

this is a better way of concatenation string and variables.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.