1 import random 2 def shoot(fs = 0,i = 0,j = 0): 3 while i >>>>>>>>>>>>>>>>>>>>>") 5 门将扑球方向 = random.choice(["左","中","右"]) 6 玩家选择射门方向 = input("请输入您要射门... ...
分类:
编程语言 时间:
2017-01-06 12:46:59
阅读次数:
181
文件内容 代码部分 现有功能:1、查询节点;2、增加节点;3、修改节点;4、删除节点5、退出。请选择你需要的功能: ...
分类:
其他好文 时间:
2016-12-30 22:03:06
阅读次数:
326
1xx: Informational - Request received, continuing process100 - Continue101 - Switching Protocols2xx: Success - The action was successfully received, u ...
分类:
Web程序 时间:
2016-12-27 07:53:13
阅读次数:
171
perl下安装模块可以使用cpan命令,但是通常我们不具有root用户权限,所以只能以sudo方式安装模块。 例如需要安装Net::SCP::Expect模块, 执行cpan Net::SCP::Expect 首次使用cpan命令会出现 choice local or sudo的样式,默认为loca ...
分类:
其他好文 时间:
2016-12-25 07:49:21
阅读次数:
466
product_list = [ ('iphone',50000), ('Mac Pro',9900), ('Bike',8000), ('Watch',160000), ('Coffee',600), ('lqgyc',1200) ] shopping_list = [] salary = inp... ...
分类:
编程语言 时间:
2016-12-24 16:24:54
阅读次数:
203
python中的几个陌生函数 1、list() 将元组转换成列表 2、random.sample(range(16),2) 在0-15里面选取任意的两个数 3、python中print输出一行。如果想多次输出的内容不换行,可以在print后面加逗号 4、choice() choice()函数就是返回 ...
分类:
其他好文 时间:
2016-12-22 22:46:08
阅读次数:
225
作业需求: 模拟实现一个ATM + 购物商城程序 1 import sys 2 sys.path.append("..") 3 from config import main 4 5 main.main() 1 import os 2 import pickle 3 import datetime ...
分类:
其他好文 时间:
2016-12-22 19:36:47
阅读次数:
259
写过几次bat脚本,但一直没有总结,最近找到一个网页介绍bat,总结得很好,转自 http://www.jb51.net/article/49627.htm: 本文只总结我不会的,全面的看原网页就可以了。 1 参数 '%':参数符,%[1-9]表示参数,多个参数要用空格或tab隔开。变量可以从%0到 ...
分类:
其他好文 时间:
2016-12-21 20:41:02
阅读次数:
172
原生xhr对象存在较多的兼容性,IE6及之前版本使用ActiveXObject对象来创建,IE7以后使用兼容版本的MSXML2.XMLHttp、MSXML2.XMLHttp3.0、MSXML2.XMLHttp6.0. ie7之前版本 ie7、FIreFox、Opera、Chrome及Safari都支 ...
分类:
其他好文 时间:
2016-12-18 18:10:11
阅读次数:
221
#include #include int main() { int i,max; char sx[20]; for(i=0;i0) max=strcmp(sx-1,sx); } if(max==-1) printf("%s",sx); return 0; } #include #include i... ...
分类:
其他好文 时间:
2016-12-15 17:47:19
阅读次数:
160