3 ms·
I think it's because you're likely to change formatting as your code evolve.
by shin_lao 13y ago
I think it's because you're likely to change formatting as your code evolve.
- avelis 13y agoI agree on both points. Therefore, when the time comes, change it. No need to over design if unnecessary. The reason I agree to using .format is because it is more expressive in describing the output vs inference in using print.
- d0mine 13y agoYou could use .format() to support both Python 2 and 3 from the same source