#!/usr/bin/env python

list1 = [1, 2, 3, 4, 5]
print tuple( list1 )
print list( list1 )

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐