#!/usr/bin/python # -*- coding: UTF-8 -*- i = ['a', 'b'] l = [1, 2] print dict([i,l]) 以上实例输出结果为: {'a': 'b', 1: 2}