D
D
dewa4kaa2020-09-04 02:36:57
Python
dewa4kaa, 2020-09-04 02:36:57

How to remove a product from a Section?

There was such a question. There is, for example, the list itself, in which we have entered sections with goods. How can I delete any product of my choice without deleting the section itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hcuy, 2020-09-04
@dewa4kaa

If I understood you correctly, then you should rather use a dictionary than a list, where it will be easier to access the key / value, and you will win in speed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question