March 2022 1 13 Report
Programowanie z Pythonem-Zadanie 2
Write a program to check the validity of password input by users.
-At least 1 letter between [a-z] and 1 letter between [A-Z].
-At least 1 number between [0-9].
-At least 1 character from [$#@].
-Minimum length 6 characters.
-Maximum length 16 characters.

Expected output:

What is your password?
Password1
Invalid password format.
or:
What is your password?
P@ssw0rd
Registration successful.

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.