Jump to content

mitch08

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Favorite Area of Science
    n/a

mitch08's Achievements

Lepton

Lepton (1/13)

0

Reputation

  1. Hey guys, I really don't understand what you just talked about. I just badly need some help, in layman's term if possible. I know you're geniuses in this kind of stuff, but please understand I'm a student that's just beginning my journey on this field. So please, if you can explain it in a much simpler term, and if possible with examples (not necessarily the actual code 'cause I think it's not your habit to do so), I would really really appreciate it. Thanks in advance.
  2. Hi guys. I encountered this scenario online and I couldn't decipher what to do to make it work. I hope you could help me out.. So say for example you have a kiosk on your store and you want to program it for your customers. When a customer press number 1, he/she would be prompted to enter the product brand, model, price, and other specifics so that the system can store it and afterwards process it for the customer. However, not until the customer types in "-none", the system would continue asking him/her about the product. Also, there's a certain menu for the seller (the store) to look up the customer's entry by brand, price etc. My question is, how should I tackle this? I think it's like putting input("Enter brand: ") into a certain variable and then attaching that variable to a class? However that would be complicated because there's also a menu for the seller wherein those things should be neatly grouped so the search can proceed. Sorry if it's kind of unclear but here's another analogy of it: ----- [1] Enter the product that you want: [a] Brand: Price: [c] Feature: Do you want to add items to your cart? Y/N ----- Now that's for the customer. Here's for the seller: ----- [a] Search by brand Search by price [c] Search by feature ----- So for example if I'm the customer and I enter "Skittles", and then I again enter "Snickers", it should be grouped neatly so when I use the seller mode, it can proceed smoothly too. I'm thinking of using a dictionary but we have 2 values: price and feature. How can I proceed with a specific search if it's grouped in a dictionary?? Sorry guys, total noob here.. Please help me.. Thank you so much...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.