标签:utf-8 dos 用法 imp .sh port class pytho amp
#! /usr/bin/env python # -*- coding:utf-8 -*- import random sample=range(101) random.shuffle(sample) for _ in iter(sample.pop,100): pass # doSomething with _ -------------------------------------- for _ in sample: if _==100: break pass # doSomething with _
标签:utf-8 dos 用法 imp .sh port class pytho amp
原文地址:http://www.cnblogs.com/Citizen/p/6551349.html