Yakshemash ! I am a Java programmer learning python to make throwaway scripts. I want to make a parser which is shown in the code below.

```
class Parser(object):
    def parse_message(self, message):
        size= len(message)
        if size != 3 or size != 5:
            raise ValueError("Message length is not valid.")

parser = Parser()
message = "12345"
parser.parse_message(message)

```

This code throws the error:

```
Traceback (most recent call last):
  File "/temp/file.py", line 9, in <module>
    parser.parse_message(message)
  File "/temp/file.py", line 5, in parse_message
    raise ValueError("Message length is not valid.")
ValueError: Message length is not valid.

```

What is my mistake and how do I correct it ?