Questions tagged [print]

For questions relating to the print function, keyword, or any other related features to print text to standard output.

Filter by
Sorted by
Tagged with
7 votes
5 answers
2k views

What are the pros/cons of having multiple ways to print?

In C++, there are two ways of printing something: printf() or cout <<. However, in Python, there's only one way: ...
Redz's user avatar
  • 1,038
2 votes
3 answers
325 views

What are the differences between designing a print function Python-style as opposed to C-style?

A regular Python print statement might look like this (Dart printing looks similar to this): print(a_number) # for a number print(a_string) # for a string These ...
Redz's user avatar
  • 1,038