Question: Write an expression that continues to bid until the user enters ' n ' . Sample output with inputs: ' y ' y ' '
Write an expression that continues to bid until the user enters
Sample output with inputs:
I bid $
Continue bidding? I'll bid $
Continue bidding? I bid $
Continue bidding?
Learn how our autograder works
q
import random
random. seed
keepgoing
nextbid
while :
nextbid nextbid random. randint
printI ll bid $ formatnextbid
print Continue bidding? end
keepgoing 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
