+ 1
Can I ask what is the concept of the print format specifications used by %0xd in python 3?
4 Respuestas
+ 1
printf() is the main way to display text to the console in the C language. It allows string formating using a percent sign, Python took that syntax and implemented it.
0
🤔🤔🤔I understand how printf() works...but the what does %0xd means anyway? I saw from one book that describes %0xd as an integer padded with x leading zeros.
0
TurtleShell Tq for your help 🤗🤗🙏🙏