Home > other >  The question of traverse the list and modify the list at the same time, for an explanation.
The question of traverse the list and modify the list at the same time, for an explanation.

Time:10-07


I know how to solve this problem, but I don't know the principle, can someone explain?

CodePudding user response:

For I in b:
This I can be equated to b [index]
That is to say, I have it in the list of serial number, content, etc.,
Can I the content of the operation, also can be operated by serial number
  • Related