title: Sep and End Arguments in print() statement
body: <p>I am currently using Python 3.9.6 version and while using the print() statement with &quot;sep=&quot; as an argument, i am getting the syntax error.</p>
  <p>My code for &quot;Sep&quot; Argument is:
  print(&quot;John&quot;,&quot;Sam&quot;,&quot;Michael&quot;,sep=&quot;-&quot;)</p>
  <p>My code for &quot;End&quot; Argument is:
  print(&quot;John&quot;,&quot;Sam&quot;,&quot;Michael&quot;,end=&quot;-&quot;)</p>
  <p>I don't understand what's the problem with my code. Please help</p>
  <p>Please find the attached snippet of both the codes:<a href="https://i.stack.imgur.com/ZRPKY.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p><a href="https://i.stack.imgur.com/ep5ZU.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>Thanks in advance!!</p>