At Westonci.ca, we provide reliable answers to your questions from a community of experts. Start exploring today! Connect with a community of experts ready to provide precise solutions to your questions on our user-friendly Q&A platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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 :

Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.