[Solved] My program keeps getting an error called ‘inconsistent use of tabs and spaces’ when I add an else or elif statement [duplicate]


you have an indentation problem :

if (input("").lower() == "yes"):
    gender_set()
elif name.lower()=="dev mode":
    print("dev mode activated")
    gender_set()
else:
    name_set()

solved My program keeps getting an error called ‘inconsistent use of tabs and spaces’ when I add an else or elif statement [duplicate]