How to print like printf in Python?

How to print like printf in Python3?
J
jacob martenProfessorAsked on June 18, 2019 in Programming.
|

1 Answer

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.
O
onlineitSupporterAnswered on September 16, 2019,
|

Your Answer

Write your response

🔍Related Questions / সম্পর্কিত প্রশ্ন

Explore more