Python抽奖程序
摘要:
恩,就是下面的这段程序代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#!/usr/bin/envpython#-*-coding:utf-8-*-importosimportsysimportrandom#设定只有5个人可以中n_tickets=5#设定参与抽奖的人,可以一直扩充pname=("小洁","宁宁","拉拉","小派","1","2","3","4","5","6","7","8","9","10","11","13","12") 阅读全文
posted @ 2010-12-20 11:18 鱼跃千里 阅读(1624) 评论(0) 推荐(0) 编辑