#2 - print function with new tricks in Python

preview_player
Показать описание
Learn to display or print some output in Python using print function. We can print the output with just one line of code in Python with the print function. Python 3 comes with lots of new features and tricks with the print function. We can use the 'sep' parameter to separate the values within print function. We can utilize 'end' parameter to determine the ending character of the print function.
We can also use escape character or escape sequence in the print function. Escape character is something that is not treated as the python code and that always starts with backslash i.e. "\". To print the String, we enclose the string within single quotes or double quotes. To print the Number or integers, we don't use quotes. If we print the number using the quotes, the number will be treated as the string.

Рекомендации по теме
join shbcf.ru