Python學習筆記

Python編程 100例 來源自RUNOOB.COM 列表轉換爲字典。 i = [‘a’, ‘b’] l = [1, 2] print dict([i,l])html #!/usr/bin/pythonpython -- coding: UTF-8 -- l1=[1,2,3,6,87,3] l2=[‘aa’,‘bb’,‘cc’,‘dd’,‘ee’,‘ff’] d={} for index in
相關文章
相關標籤/搜索