I made a funtion that requires input of 2 values in a string. I'm trying to make it so that the input must consist of a combination of 1 digit and 1 letter. Example: 3f 5h
I have the following code but i can't seem to get the condition of digit and alpha to work. Is it because .isdigit and .isalpha are about all characters?

```
def chess(value1, value2):

    if len(value1) == 2 and len(value2) == 2:
        for char in value1, value2:
            if char.isalpha() and char.isdigit():
                print("Input is right format.")
            else:
                print("Input is NOT right format.")
    else:
        print("Input is NOT right format.")

value1, value2 = input('values: ') .split()

chess(value1, value2) 

```

Using only 

```
if char.isalpha():

```

or

```
if char.isdigit():

```

seems to work. But together they don't.