I need to have 'F' or 'M' as input from the user. So there is my code :
a = input("")
while a != 'F' or a != 'M':
a = input("")
But it still looping even if the user enter 'M' or 'F' or anything else. so I've tried this :
genre = input("")
while genre != 'F':
genre = input("")
And it works.. I just need to have 'M' OR 'F', could someone help me with this?
Thank's in advance