contestada

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.

Respuesta :

The program that executes the above function is detailed below. Note that it contains a loop that will be terminated.

What is the program code for the above?

The program is given as follows:

n= input()

while n != id:

print ("This is not your ID number.")

n = input()

print ("This is your ID number:",n)

Learn more about loops at;
https://brainly.com/question/16922594
#SPJ1