Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a python code Exercise 3: Password Validator Write a program according to the following specification: 1) Display a message asking the user to enter

image text in transcribed

write a python code

Exercise 3: Password Validator Write a program according to the following specification: 1) Display a message asking the user to enter a student id between 0 and 9999999. 2) Get the user input. 3) Verify the student id. If the user input is bigger than 9999999 or less than 0, then display an error message, and exit the program (Hint: use exit()). 4) Display the user input. 5) Display a message asking the user to enter a password with the length between 6 and 20. 6) Get the user input. 7) Verify the password. If the password length is not between 6 and 20, exit the program. 8) Display the user input. 9) Display a message asking the user to enter a string. 10) Display the user input. 11) Change the string to upper case. 12) Display the new string. 13) Exit the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

Who are most likely to be victimized by a phishing expedition?

Answered: 1 week ago

Question

=+Do you have childcare?

Answered: 1 week ago