The Python print () function comes with an end parameter. The default value for this parameter is "/ n", which is a newline character. You can terminate the print statement with any character / line using this parameter.
Welcome to Python.Engineering
Another program to demonstrate how the final parameter works.
# This program is Python must be run with
# Python 3 as it won't work with 2.7.
# ends output with & # 39; @ & # 39;
" Python "
Python @ Python.Engineering
This article contributed by
Please post comments if you find anything wrong or if you'd like to share more information on the topic under discussion