What I want to get is a function which compare the length of several parameters, these parameters are strings.

Something like (pseudocode):

```
def check_length(*args):
    if args[0] == args[1] == ... == args[n]:
        do_something

```

So far, I develop the following code, but I'm sure that there must exists a better way since this is a paired comparison:

```
def checkLen(*args):
    arg_list = []
    for index_A in range(len(args)):
        for index_B in range(len(args)):
            if index_B > index_A:
                if len(args[index_A]) == len(args[index_B]):
                    pass
                else:
                    raise Exception

```

Thanks to all. =)