Summary
- A blind auction program where participants privately submit their maximum bids
- Uses dictionaries to store bidder names (keys) and bid amounts (values)
- Includes screen clearing functionality between bids to maintain privacy
- Program flow: display logo → collect bids → check for more bidders → determine winner
- Winner is determined by finding the highest bid amount in the dictionary
- Demonstrates practical application of Python dictionaries, loops, and function creation
Resources
Blind Auction Flow Chart
Notes\ Code
Time for the unit project, which is to build a silent auction. Here is our task list:
- Ask the user for input
- Save data into dictionary {name: price}
- Whether if new bids need to be added
- Compare bids in dictionary
We are also told:
Clearing the Output
There are several ways of clearing the output. The easiest is to simply print "\n" many times so that the output scrolls down many lines.