Question: Python Coding: Create a program that gets a password from the user of at least 8 characters long from the user, and checks to see
Python Coding:
Create a program that gets a password from the user of at least 8 characters long from the user, and checks to see if it contains an uppercase letter.
You will create a main() function that will get the string for the user and call a function you will define called verify() that takes one string parameter and checks to see if it has at least one uppercase letter in it, use the list below. The program should print success if the string contains an uppercase letter or print failure if it does not contain an uppercase letter.
UPPERCASE_List = [A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z]
Example input: Tewkffgt433
Example output: Success!
Example Input: 22343rrerf!
Example Output: False!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
