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. n
Because you have made some Indentation issues and you don't need to use nested if else try this:
name = input("Enter your name : ")
title = input("Enter your title (doctor, female, male) : ")
female = ("Ms."+name)
doctor = ("Dr."+name)
male = ("Mr."+name)
if title == "doctor":
print(doctor)
elif title == "male":
print(male)
else:
print(female)