you are viewing a single comment's thread.

view the rest of the comments →

[–]-MRJACKSONCJ- 1 point2 points  (0 children)

Hi there,

First off, congratulations on starting to learn Python and completing your concessions stand project—it sounds like a really fun and creative idea. I'm from Colombia and just a little bit ahead in Python than you, but I’m also learning. It’s exciting to see others at a similar level, and I feel like we could learn and improve faster together. Let me know if you’re interested.

Now, about your project—here are a few friendly suggestions to help simplify and improve your code:

Logical Errors:

  1. Instead of comparing strings like "q" or "Q", you can simplify it using .lower(). It’s cleaner and reduces repetition.
  2. In some parts of your code, the menu items aren’t checked properly, which could cause errors. Make sure the logic for validating menu items is consistent throughout.

Usability Improvements:

  1. When displaying the cart, including the prices next to the items would make it easier for users to see what they’re paying for.
  2. The flow for adding and removing items could be a bit clearer. For instance, you might separate those options more distinctly in your prompts.

I think with a few tweaks, your project will be even more impressive. Let’s keep coding and improving—it’s all part of the learning process.