How to Check If Your Password Contains Only Digits Using python