Respuesta :

xjkbel

I've seen this problem before, you just need the solution to the 'while' loop, right?


Assuming your variable names are the same as the generic question your while loop should look like this:


while (keepGoing != 'n')

fichoh

The required program written in python 3 is as follows :.

letter = input('Enter an alphabet')

#This is the first user input, prompts the user to enter an alphabet

while letter != 'n':

#Checks the alphabet entered by the user.

print('keep bidding')

#if the input is not the alphabet n, keep bidding is displayed

l = input()

#allows user to enter another input if the first alphabet is not n

if l=='n':

#Checks if the alphabet supplied is n,

break

the program breaks, if n is entered else, it continues displaying the phrase 'keep bidding'

Learn more :https://brainly.com/question/18430675

Ver imagen fichoh