class Student(object): def __init__(self,name="",school="",grade=""): if not name: name=raw_input("What is the student's name?") if not school: school ...
分类:
编程语言 时间:
2017-08-01 19:12:30
阅读次数:
180
html 文件就是充当模板使用,包含head头和body身体,body包含众多的标签,每个标签都使用尖括号包裹,内部由标签名和标签属性构成。其中标签分为2类: 1:块级标签,特点:占用一行,如:<h>,<p>,<div> 等 2:行内标签,特点:只占用自身大小,如:<span>,<input>,<a ...
分类:
Web程序 时间:
2017-08-01 00:24:02
阅读次数:
329
做了一道w3schoolSQL测试,20道题居然错了1道,现分析总结如下: 百度了一下,between and 是【a,b】全封闭结构,即 大于等于a并小于等于b。 运行结果分别如下 1)between and 2)大于,小于 感想:技术就是是实实在在的规则,在于细节的把握,即需要广度也需要深度,还 ...
分类:
数据库 时间:
2017-07-31 20:05:15
阅读次数:
147
定义和用法 fpassthru() 函数输出文件指针处的所有剩余数据。 该函数将给定的文件指针从当前的位置读取到 EOF,并把结果写到输出缓冲区。 语法 说明 如果发生错误, fpassthru() 返回 false。否则 fpassthru() 返回从 file 读取并传递到输出的字符数目。 文件 ...
分类:
Web程序 时间:
2017-07-31 17:25:22
阅读次数:
178
js正则表达式的方法:一种正则在前,一种正则在后: 使用: 1.exec var res = /\-[a-z]/g .exec("font-size"); console.log(res); 得到的结果: 所以返回的是一个数组,第一个为匹配值,第二个是匹配的位置,第三个是输入的数 2.test va ...
分类:
Web程序 时间:
2017-07-30 23:50:41
阅读次数:
237
mysql: select * from test where school_name like concat('%',${name},'%') oracle: select * from test where school_name like '%'||${name},'%' SQL Server... ...
分类:
数据库 时间:
2017-07-28 22:07:46
阅读次数:
325
Description There are n children in Jzzhu's school. Jzzhu is going to give some candies to them. Let's number all the children from 1 to n. The i-th c ...
分类:
其他好文 时间:
2017-07-28 16:42:44
阅读次数:
146
Computer 时限:1000ms Problem Description A school bought the first computer some time ago(so this computer's id is 1). During the recent years the schoo ...
分类:
其他好文 时间:
2017-07-27 21:27:52
阅读次数:
182