Printing from multiple lists with the same index number

hatType = ["Cap" , "Beanie" , "Top Hat"]
hatColour = ["Blue" , "Brown" , "Black"]
hatPrice = [12 , 13 , 14]
hatQuantity [ 5 , 7 , 3]

I want to create an input that asks the user for the hat type and then printing everything with the same index. I also have an append function in my code then allows me to add products and I also want to be able to search for the ones I have appended. I have no idea where to start any help would be greatly appreciated!

Read more here:

Content Attribution

This content was originally published by ghostdad2 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: