Hello taking intro to python and struggling with validating inputs. I need this while loop to repeat if the input is not equal to Y y or N n, but its not working. I can only use stuff we've learned so far so I don't think I can use while true or functions. Please help, thanks
while repeat != 'Y' or 'y' or 'n' or 'n':
print('Error - please enter y/n')
repeat = input('Would you like to enter another (y/n) ?')
trying to loop an entire program while repeat is == 'y' or 'Y'