Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Get quick and reliable solutions to your questions from a community of seasoned experts on our user-friendly 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 visiting our platform. We hope you found the answers you were looking for. Come back anytime you need more information. Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.