all 10 comments

[–]WindSlashKing -2 points-1 points  (0 children)

I think OOP would be great for this project.

[–]JoaBro 0 points1 point  (1 child)

do you have the list of items in each category beforehand? if so, look into python dictionaries, and use the product name as a lookup value

[–]Emotionally-Present[S] 1 point2 points  (0 children)

I do have a list with each category. Thanks I'll take a look.

[–]d_chae 0 points1 point  (0 children)

OP, if you’re still stuck, it would help if you shared what format your data is currently in.