0
What is |,<< ,sep and end
2 Answers
+ 3
| is a bitwise OR
<< is a left bitshift
>> is a right bitshift
sep is the separator to be used by the print function. It's not output in the example due to there only being 1 string passed into the function.
try print(l, l, sep='/') to see the difference.
end is the character(s) to be used/appended at/to the end of the print functions output. The default is a newline character '\n'.
try adding another print statement to the example and you'll see it is printed immediately at the end of the previous print statements output instead of on a newline.
+ 2
Thank you very much đ