最近在项目中经常遇到将list转为dict形式,之前都只会用for循环,取出list中的每个值,update到dict中。 示例1. scrabble_scores = [(1, " ...
確定! 回上一頁