You have a unique ID number, which is a string of digits. Assume the variable id references a string that contains your ID number. Write a program that repeatedly reads a string as input. If the string that was entered is not equal to your ID number, the program should display the following string: "This is not your ID number." If the string that was entered is equal to your ID number, the program should display the string: "This is your ID number:", followed by a space, followed by the ID number, and then terminate the loop. NOTE: When reading the input, do not display a prompt for the user. Use the input() function with no prompt string. Here is an example: number = input()
4 PLease write in Python
You have a unique ID number, which is a string of digits. Assume the variable id references a string that contains your ID number. Write a
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images