Check the validity of a given password .
Let's say you want to follow 4 rules to validate password -
1. Length must be greater than 7
2. It must have at least 1 capital letter
3. It must have at least one digit
4. It must have at least one special symbols
you can use below methods to check that
str.isupper()
str.islower()
str.isdigit()
len(str)
On this page of the site you can watch the video online Python - 057 : Check the format of a password in python with a duration of hours minute second in good quality, which was uploaded by the user The Digital Folks 19 July 2023, share the link with friends and acquaintances, this video has already been watched 217 times on youtube and it was liked by 7 viewers. Enjoy your viewing!