vari1='a'
# choices are  all ready printed above.
while vari1 != 'o' and vari1 != 'O' and vari1 != 'p' and vari1 != 'P':
      vari1=input("please enter your choice.")
      if vari1 != 'o' and vari1 != 'O' and vari1 != 'p' and vari1 != 'P':
            print("please enter a appropriate choice") 
I tried this code but its not working. I wanna know how many logical operator I can use in one statement. I think there is some problem with my condition.
 
    