title: Why do I get invalid syntax for else
body: <pre><code>name=input ("please enter your name") .upper() 
  names=["MARTIN","JAMES","LOUIS","BABYSHARK"]
  
  if name==list:names
  print ("You are allowed to play my game")
  else
      prin ("ACCES DENIED!"))
  </code></pre>