+ 1
Pls guys help š where is bug in this code
maxBid = int(input() while(True): bid = int(input()) if bid>maxBid: break print("Sold:", bid)
1 Answer
+ 12
first line missing closing brace ')'.
print(..) should be outside loop..
maxBid = int(input() while(True): bid = int(input()) if bid>maxBid: break print("Sold:", bid)