title: Code shows SyntaxError : multiple statements, but I don't know where the error is
body: <p>my first ever question on Stack Overflow as I'm learning Python (with absolute no programming background whatsoever).</p>
  <p>I'v tried finding an answer but I don't undestand where my error is. If the question is inappropriate I will delete it and I apologize.</p>
  <p>I'm following a MOOC about Python. Very early, when learning about parameters and functions I came across an error I don't understand.</p>
  <p>Here is the code, while running it it says &quot;SyntaxError: multiple statements found while compiling a single statement&quot;</p>
  <pre><code># -*- coding: utf8 -*-
  quotes = [
      &quot;Hello !&quot;, 
      &quot;Goodbye !&quot;
  ]
  
  
  characters = [
      &quot;alvin et les Chipmunks&quot;, 
      &quot;Babar&quot;, 
      &quot;betty boop&quot;, 
      &quot;calimero&quot;, 
      &quot;casper&quot;, 
      &quot;le chat potté&quot;, 
      &quot;Kirikou&quot;
  ]
  
  user_answer == &quot;B&quot;
  
  # Show random quote
  
  If user_answer == &quot;B&quot;:
    pass
  elif user_answer == &quot;C&quot;:
    print(&quot;Not the right answer !&quot;)
  else:
    pass
    # show another quote
  
  def show_random_quote(my_list):
      # get a random number
      quote = my_list[0]
      print(quote)
  
  show_random_quote(quotes)
  </code></pre>
  <p>The full aim of the code would be to randomly show a quote and then randomly show a character.</p>
  <p>For now only the quote must be shown.</p>
  <p>I don't understand where my error is (and on the video, the teacher has the same exact code). I've tried with and without <code>user_answer == &quot;B&quot;</code> but it doesn't solve the problem. The increment seems alright.</p>
  <p>I don't want to continue the lesson without understanding what I did wrong (I feel it's one of the best way to learn).</p>
  <p>From what I understand : this block doesn't do anything as I have set the user_answer to B :</p>
  <pre><code>If user_answer == &quot;B&quot;:
    pass
  elif user_answer == &quot;C&quot;:
    print(&quot;Not the right answer !&quot;)
  else:
    pass
  </code></pre>
  <p>Only this function should make a quote appear : <code>show_random_quote(quotes)</code> as the function has been previously defind by <code>def show_random_quote(my_list)</code></p>
  <p>But I still don't understand.</p>
  <p>Thanks in advance,</p>
  <p>EDIT : Now I feel stupid for those 2 silly mistakes, thanks</p>