UsernamePin Python

• Step 1
• Ask a user to enter the username. The username can contain only letters and numbers.
• If the username contains letters and numbers, the program will move to step 2. Otherwise, the
program will ask the user to enter letters and numbers, and will loop until only letters and
numbers are entered.
• Step 2
• Ask a user to enter the pin code. The pin can contain only 4 digits
• If the pin contains 4 digits, the program will end. Otherwise, the program will ask a user to
enter 4 digits only, and will loop until this condition is satisfied.

×
New Download