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 'n'.
Sample output with inputs: 'y'y''n'
I'11 bid $7!
Continue bidding? I'll bid $15!
Continue bidding? I'11 bid $23!
Continue bidding?
Learn how our autograder works
543630,3925610.037 q 77
import random
random. seed(5)
keep_going =?'-'
next_bid =0
while |:
next_bid = next_bid + random. randint (1,10)
print('I 'll bid ${}!'. format(next_bid))
print ('Continue bidding?', end='')
keep_going = input()
 Write an expression that continues to bid until the user enters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!