Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

We vaguely went over this in class and it is similar to one of the problems on the loop class work. I struggled with this and couldn't figure it out. Is there something that I am missing in my understanding of this concept. The list is in the conditional part of the while loop.

asked in old_CSC201 by (1 point)

1 Answer

+1 vote
 
Best answer

Something like this:

while response not in ['yes', 'no', 'y', 'n']:

answered by (1 point)
selected by
...