title: How to let Python recognize both lower and uppercase for the input?
body: <p>I am doing my homework now and want to make python recognize both lower and uppercase for the input. Here is the script:</p>
  
  <pre><code>print("Welcome to the student checker!")
  
  student_lists={"Mary A","Tony Z","Sophie L","Zoe J","Joey M","Connie O","Olivia L","Mark Z","Donny M"}
  
  while True:
  
      name=input("Please give me the name of a student (enter 'q' to quit):")
  
      if name in student_lists:
          print("Yes, that student is enrolled in the class!")
  
      else:
          print("No, that student is not in the class.")
  
      if name=="q":
          break
  
  print("Goodbye!")
  </code></pre>
  
  <p>Please let me know how to fix it. Much appreciated!!</p>