Tagged: print

Everything tagged "print", newest first.

Coding Practice ·

Python Coding Exercise #07: Print a Single Line

A beginner Python exercise on the end argument of print() — how to make several print commands write their output on one line instead of one line each.

Coding Practice ·

Python Coding Exercise #05: Extra Space

A beginner Python exercise on print() and whitespace — why commas in print() add extra spaces, and how f-strings give you exact control over the output.

Coding Practice ·

Python Coding Exercise #03: Printing Output

Two beginner Python exercises on print() — calculating the minutes in a year inside a print statement, and printing a line of code that itself contains quotation marks.

All tags