8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03a620a + 6bfaab6 commit 9094bc0Copy full SHA for 9094bc0
06-basics.md
@@ -179,13 +179,12 @@ detailed specifications such as:
179
180
Since we are discussing formatting, note that `print()` always ends
181
with an invisible "new line" character (`\n`) so that repeated calls
182
-to `print()` will all print on a separate line each. To prevent this
+to `print()` will all print on a separate line each.You can change print commands with a semikolon. To prevent this
183
newline character from being printed, you can override the `end`
184
parameter to `print`:
185
186
~~~python
187
-print("a", end="")
188
-print("b", end="")
+print("a", end="");print("b", end="")
189
~~~
190
191
Output:
0 commit comments