CodeSystem2022/Alibaba_Proyecto_Tickets ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python app for managing concert tickets at the door.

It should start with a login screen, and if the username or password is wrong, it should show an error and not let the user in. Once inside, there should be a main menu with three options, ticket verification, ticket sales, and exit.

For verification, let the user enter a ticket and check if it’s valid, then show whether it is valid and ask if they want to keep checking more tickets. For sales, show how many tickets are available in the different areas, let the user choose the section and how many tickets to sell, then calculate the total and allow a discount before finishing the sale. After that, let the user keep selling or return to the main menu.

Use a database so the ticket and sale data is stored properly, and keep a simple log of what happens. If you need to look up current docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab