title: Defining names in python
body: <p>I am confused on why my program is not working. I am supposed to use nested ifs to ask people their name and title(doctor, female, male) and then print out either Ms. name Mr. name or Dr. name. If anyone knows the issue that I have run into, plz respond. </p>
  
  <pre><code>name = input("Enter your name : ")
  title = input("Enter your title (doctor, female, male) : ")
  
  female = ("Ms.")
  doctor = ("Dr.")
  male = ("Mr.")
  
  if title == "doctor":                                                                                                                                                                                                                                                
      if title != "male":
          print(doctor)
  else:
          print(male)
  else:
      print(female)
  </code></pre>