
Acceptable Password II

In this mission you need to create a password verification function.
The verification conditions are:
- the length should be bigger than 6;
- should contain at least one digit.
Input: A string (str).
Output: A logic value (bool).
Examples:
assert is_acceptable_password("short") == False assert is_acceptable_password("muchlonger") == False assert is_acceptable_password("ashort") == False assert is_acceptable_password("muchlonger5") == True
How it’s used: For password verification form. Also it's good to learn how the task can be evaluated.