Question: Variable keep _ bidding is initially assigned with ' y ' . Within the while loop, keep _ bidding is updated with the user's next
Variable keepbidding is initially assigned with y Within the while loop, keepbidding is updated with the user's next input value. Complete the while loop's expression to terminate the while loop if the user enters n
Ex: If the input is yyn then the output is:
I'll bid $
Continue bidding? yn I'll bid $
Continue bidding? yn I'll bid $
Continue bidding? ynimport random
random.seed
keepbidding y
nextbid
while Your solution goes here :
nextbid nextbid random.randint
printfIll bid $nextbid
printContinue bidding? yn end
keepbidding input
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
