How to print like printf in Python?

How to print like printf in Python3?

Brong Asked on June 18, 2019 in Programming.
Add Comment
1 Answer(s)

The % operator can also be used for string formatting. It interprets the left argument much like a printf() -style format string to be applied to the right argument. In Python, there is no printf() function but the functionality of the ancient printf is contained in Python.

Default Answered on September 16, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.