摘要: Given an Android 3x3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, count the total number of unlock patterns of the Android lock scre 阅读全文
posted @ 2018-09-16 14:53 轻风舞动 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 其中list()函数与tuple()函数接受可抚今迭代的对象(比如一个序列)作为参数,并通过浅拷贝数据来创建一个新的列表与元组.虽然字符串也是序列类型,但一般它们不用于list()与tuple().更多的情况下,它们用于在两种类型之间进行轩换,比如你需要把一个已有的元组转换成列表类型(然后你可以修改 阅读全文
posted @ 2018-09-16 08:55 轻风舞动 阅读(2721) 评论(0) 推荐(0) 编辑