Answer:
Since we have set the variable finished to False, the while condition will never be true the first time so the loop is never executed
This can be fixed by changing the first line to
finished = True
or changing the while condition to
while finished ! True:
However, that does not solve the problem. There is no way to change the value of finished once inside the loop so it becomes an infinite loop
You must choose some other while condition
Step-by-step explanation: