Python 100例. 題目:列表轉換為字典。 程序分析:無。 程序源代碼: #!/usr/bin/python # -*- coding: UTF-8 -*- i = ['a', 'b'] l = [1, 2] print dict([i,l]).
確定! 回上一頁