simple password validater using python
A password is expected to be of 8 characters in length and a mixture of letters (including at least one Capital letter), numbers and special characters. A password cannot start or end with a whitespace.
Eg: anDy@1$6 is a valid password. Write a python program to validate a password entered by a user.