OK so I'm not sure what im doing wrong here but my code is automatically choosing the first one in the "if" statement for exmaple if it is
if 1 == 2
print("Works")
elif 1 == 1
print("There we go")
it will automatically choose the first one even if the incorrect value is typed in. Please see my code below:
def troubleshoot ():
print("Now we will try and help you with your iPhone.")
print("")
time.sleep(1)
hardsoft = input(str("Is the issue a problem with hardware of software? Write n if you are not sure: ") ) #ISSUE WITH IT SELECTING THE FIRST ONE NO MATER WHAT#
if hardsoft == "Software" or "software" or "S" or "s" or "soft" or "Soft":
software ()
elif hardsoft == "Hardware" or "hardware" or "Hard" or "hard" or "h" or "H":
hardware ()
elif hardsoft == "Not sure" or "not" or "Not" or "NOT" or "not sure" or "n" or "N":
notsure ()
else:
print("Sorry, that command was not recognised")
print("Please try again")
troubleshoot ()