dash is a seprator used with print() function,to print the value in the next line.
Answers
Answered by
2
Since the python print() function by default ends with newline. Python has a predefined format if you use print(a_variable) then it will go to next line automatically. But sometime it may happen that we don't want to go to next line but want to print on the same line.
Similar questions
Science,
3 months ago
Math,
3 months ago
Math,
6 months ago
Math,
6 months ago
Social Sciences,
10 months ago