InterviewSolution
| 1. |
Explain the different separators that can be used with print() function to display result in different ways.Could y'all answer it a tad faster? Thanks |
|
Answer» Answer: 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. It is also used for formatting the output strings. 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. It is also used for formatting the output strings.Explanation: hope it's HELP you ❣️❣️ |
|