python - Can I append an element to a list that is currently being processed in a for loop? -
i'd know if not lead programme errors.
for in b: if <condition>: b = b + [something]
python list loops for-loop
No comments:
Post a Comment