Yes, it does. Otherwise the prompt gets printed after the text in some shells or an inverse % gets printed in zsh. Unless you are appending to a partially printed line, you always need a newline.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes! Try to run it once you'll find that everything is correct. I mean it doesn't need newline.
Yes, it does. Otherwise the prompt gets printed after the text in some shells or an inverse
%
gets printed in zsh. Unless you are appending to a partially printed line, you always need a newline.