I need help again. I would like to realize the following:
I would like to create a list with the following entries:
Pear A 50
Pear A 70
Pear B 100
Apple A 100
Apple A 80
Apple B 150
From the created list, I would like to create a result list from which I would like to display the corresponding varieties, something like this:
Bulb A 120
Pear B 100
Apple A 180
Apple B 150
I've tried lists within lists or a dictionary. But unfortunately not to the desired goal.
Can someone send me a small sample code that I could then convert for myself?
I've looked at a lot of posts here, but couldn't find anything relevant.
Many thanks already!
You can store each string-string-integer set as a plain string. I've tried building an app that way, and it's even case-insensitive. I couldn't test it, so I hope it works:
Thank you very much for your effort.
Unfortunately, I get an error message right at the beginning of the test.
"Select list item: Attempt to get item number 2 of a list of length 1: ["apple a"]"
Since I'm still a little beginner, I can't find out where the problem lies.
My list should also be expandable. I would like to be able to add more articles.
That looks really very interesting.
I'll take a look at it, maybe I can learn from it and realize my project.
Thank you for the information.
Maybe there are more useful tips...