Back to Lesson
End Character Override
Print on the same line using end="".
Instructions
- Use aloop to print numbers 1 through 5.
for - Print them on the same line, separated by spaces.
- Useto prevent newlines.
end=" "
main.py
main.py
Ctrl + Enter