how to modify a list while iterating (intermediate) anthony explains

Published: 02 March 2022
on channel: anthonywritescode
10,187
332

normally you can't modify a list while iterating over it but I show a little trick that makes it possible. I also show how you might refactor "iterating a dict while modifying" as well!

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / codewithanthony  
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!


Watch video how to modify a list while iterating (intermediate) anthony explains online without registration, duration hours minute second in high quality. This video was added by user anthonywritescode 02 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,187 once and liked it 332 people.