Question: Write a python program according to the following specification: 1) Display a message asking the user to enter a student id between 0 and 9999999.
Write a python

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.
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
Get step-by-step solutions from verified subject matter experts
