I am trying to write a function that checks for a strong password. The password must contain one upper case, one lower case,a number and must be 8 characters long.

```
import re

def checker():

 while True:
   userInput = input(' Please input a password ')
   passwordRegex = re.compile(r'[a-zA-Z0-9]+ {,8}')
   match = passwordRegex.search(userInput)
   if match:
        print('Good!')
   else:
        print('Bad!')

checker()

```

This function always outputs `Bad` even when the password meets all the requirements. I have a feeling the error has to do with how I am using my Regex and Variables. I am using python 3.6.