Python in 5 minutes | Lecture 2 | end parameter of print( ) function

preview_player
Показать описание
In this video, we continue our discussion on the print( ) function. It adds a newline character by default after printing the output. This is due to the fact that the end parameter of print( ) is set to newline beforehand. We can change this default behavior by setting the end parameter to a different value. We can also categorically set newline as the value of end parameter, which gives the same result as not specifying the end parameter at all.
Рекомендации по теме