fix(curriculum): correct formatting in Python print function lecture (#62353)

This commit is contained in:
Ismail Muhammed
2025-09-25 08:33:39 +00:00
committed by GitHub
parent c29dc53f1a
commit 0bd86c0278
@@ -69,7 +69,7 @@ The `end` parameter lets you avoid a common issue with the `print` function, whe
The `end` parameter lets you modify the ending of the output. By default, the end character is a newline character (`\n`), which is helpful in most cases.
But what if you call `print` multiple times in a row?:
But what if you call `print` multiple times in a row?
```python
print('Footballers:')
@@ -79,7 +79,7 @@ print('Hazard')
print('Kante')
print('Okocha')
#Output:
# Output:
# Footballers:
# Ronaldo
# Messi
@@ -98,7 +98,7 @@ print('Hazard', end=', ')
print('Kante', end=', ')
print('Okocha', end='.')
#Output: Footballers: Ronaldo, Messi, Hazard, Kante, Okocha.
# Output: Footballers: Ronaldo, Messi, Hazard, Kante, Okocha.
```
How cool is that?