it was known that can\'t use list.remove in foreach. there is a confuse for me that phase1 runs ok but phase2 was not. can someone explan this?
phase1