元组属于序列的一种1.序列包括3种字符串、列表和元组都是序列。序列的两个主要特点是所有操作符和切片操作符。a.索引操作符让我们可以从序列中抓取一个特定项目b.切片操作符让我们能获取序列的一个切片,即一部分序列2.序列的基本操作len()求序列的长度+连接2个序列*重复序列元..
分类:
编程语言 时间:
2016-07-02 14:36:13
阅读次数:
144
http://blog.csdn.net/striping/article/details/17449653 http://blog.csdn.net/striping/article/details/17449653 IOPS 即I/O per second,即每秒进行读写(I/O)操作的次数,多 ...
分类:
其他好文 时间:
2016-07-01 22:56:55
阅读次数:
160
1119 - Pimp My Ride PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Today, there are quite a few cars, motorcycles, trucks ...
分类:
其他好文 时间:
2016-07-01 18:10:54
阅读次数:
210
//first method : slice = nil // second method : slice = slice[0:0]Source page : https://www.socketloop.com/tutorials/golang-clearing-slice ...
分类:
其他好文 时间:
2016-06-30 16:07:30
阅读次数:
150
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every ...
分类:
其他好文 时间:
2016-06-30 14:12:42
阅读次数:
191
对象的创建: var first=new Object(); var second={ a:"bbb", b:function(){...} } 对象的内容增加: first.name="aaa" first.talk=function(){...} 工厂模式: function createobj ...
分类:
Web程序 时间:
2016-06-28 22:13:23
阅读次数:
190
1374 - Confusion in the Problemset PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB A small confusion in a problem set may r ...
分类:
其他好文 时间:
2016-06-27 17:39:34
阅读次数:
269
mysql> select sysdate();+ +| sysdate() |+ +| 2016-06-26 18:49:15 |+ +1 row in set (0.00 sec) mysql> select date_add("2012-4-5",interval 1 second);+ +| ...
分类:
其他好文 时间:
2016-06-27 10:33:41
阅读次数:
125
1301 - Monitoring Processes PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 32 MB We have planned to design a new operating syste ...
分类:
其他好文 时间:
2016-06-26 16:47:42
阅读次数:
171
1198 - Karate Competition PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Your karate club challenged another karate club i ...
分类:
其他好文 时间:
2016-06-26 00:37:30
阅读次数:
255