The default value of end is \n meaning that after the print statement it will print a new line. So simply stated end is what you want to be printed after the print statement has been executed
By default there is a newline character appended to the item being printed (end='\n'), and end='' is used to make it printed on the same line. And print() prints an empty newline, which is necessary to keep on printing on the next line.
What does end=' ' in a print call exactly do? - Stack Overflow
Нигде не могу найти описание функций begin() и end(), для чего они нужны? Если можно напишите пример пожалуйста :)
c++ - Что делают функции begin () и end () - Stack Overflow на русском
The end=' ' is just to say that you want a space after the end of the statement instead of a new line character. In Python 2.x you would have to do this by placing a comma at the end of the print statement.
In VBA, sometimes we want to exit the program after some condition is true. But do I use end or exit sub?
For anyone stumbling here who googled "bash warning: here-document delimited by end-of-file", it may be that you are getting the warning: here-document at line 74 delimited by end-of-file ...type warning because you accidentally used a here document symbol (<<) when you meant to use a here string symbol (<<<). That was my case.
22 but for the different reason expected