Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Which input for variable c causes "Done" to be output next? (underscore used to indicate a tab)
c = 'y'
while c == 'y':
# Do something
print('Enter y to continue, n to quit: ', end=' ')
c = input()
print('Done');

a. 'y' only
b. 'n' only
c. Any value other than 'y'
d. No such value - infinite loop


Sagot :

We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. We hope this was helpful. Please come back whenever you need more information or answers to your queries. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.