Computer Science, asked by naitik648, 1 day ago

Describe the separators using print() function

Answers

Answered by Anonymous
0

Answer:

The separator between the arguments to print() function in Python is space by default (softspace feature) , which can be modified and can be made to any character, integer or string as per our choice. The 'sep' parameter is used to achieve the same, it is found only in python 3. x or later.

Answered by ƬυƖιρHєαят
3

 \huge \pink{ \mid{ \underline{ \overline { \tt Answer - }} \mid}}

The separator between the arguments to print() function in Python is space by default (softspace feature) , which can be modified and can be made to any character, integer or string as per our choice. The 'sep' parameter is used to achieve the same, it is found only in python 3. x or later.

Python print() Function

The print() function prints the specified message to the screen, or other standard output device. The message can be a string, or any other object, the object will be converted into a string before written to the screen.

Printing with the Comma (,) Separator (The Print "Zones")

The New Line Character in Print Statements

The default value of the end parameter of the built-in print function is \n , so a new line character is appended to the string.

Similar questions