title: What exactly is "invalid syntax" and why do I keep getting it in Python?
body: <p>I am trying out this code but I keep running into a problem. I keep getting the message "invalid syntax" and it highlights "maracs" as the syntax error. I've substituted it with several nonexistent words and modified the code but it still gives me the same error. And yes, my variables are random words. Also, I really need the answer to be simple because I can barely understand all the information I find on this on the Internet.</p>
  
  <pre><code>start = input("On what day will you be leaving? (1 to 7 representing Monday to Sunday respectively.)"
  maracs = input("How many days will your stay be?")
  pooper = int(start) + int(maracs)
  lob = pooper % 7
  if lob = 0:
   print("You will arrive on Day 7 of the week of your arrival.")
  else
   print("You will arrive on Day "lob "of the week of your arrival.")
  </code></pre>
  
  <p>Also, I'm having another problem. I keep getting "NameError" when I am trying this other code out. Please help define "NameError" in a simple way.</p>
  
  <pre><code>a = All
  b = work
  d = no
  e = play
  f = makes
  g = Jack
  h = a
  i = dull
  j = boy
  
  print(a, b, "and", d, e, f, g, h, i, j)
  </code></pre>