so im trying to for loop through a dict and delete some keys from it but it gives me a 'dictionary changed size during iteration' error. how should i avoid that? my first thought was to cast the changes to a copy and then cast the copy back to the original but that sounds incredibly stupid
Iterate over the copy?