Array Input In Python Using And In If Statement