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



Answer :

Other Questions