python - while循环(二)

# 使用while处理列表和字典 ## 1. 在列表之间移动元素 在for循环遍历列表时,若修改列表元素会导致Python难以跟踪元素。 ``` unconfirmed_users = ['alice', 'brian', 'candace'] confirmed_users = [] for un
posted @ 2023-07-08 20:48  钱塘江畔  阅读(9)  评论(0编辑  收藏  举报