0
How can i use '%dsomething' %(var)
2 Answers
+ 3
I guess this is python? Those are format specifiers. Use %d for integers, %f for floats and %s for anything else.
https://code.sololearn.com/cSQwuDeqeg4t/?ref=app
/Edit: There's also %x/%X for hexadecimals with lower/uppercase letters
0
From where did you learn this function?