I am currently using Python 3.9.6 version and while using the print() statement with "sep=" as an argument, i am getting the syntax error.
My code for "Sep" Argument is: print("John","Sam","Michael",sep="-")
My code for "End" Argument is: print("John","Sam","Michael",end="-")
I don't understand what's the problem with my code. Please help
Please find the attached snippet of both the codes:enter image description here
Thanks in advance!!