I am doing some stuff in python, but I am not that used to it yet.
This is what I want the code to do (pseudocode):
if x in list or y in list but not x and y:
#do-stuff
the first part is correct (if x in list or y in list
) but I don't know what to write after that. The but not x and y
part.