New course! Every coder should learn Generative AI!
Try a free lesson+ 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..