- 博客(4)
- 收藏
- 关注
原创 用python实现排列
def permutation(arr, n): length = len(arr) return arr if n == 1 else [ arr[i] +SEP+ e for i in range(length) for e in permutation([ arr[j] for j in range(length) if j != i ], n-1) ]
2015-06-06 10:41:23
306
转载 What You Should Know About Floats
原文 http://coding.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/key points 如下1. A floated box is positioned within the normal flow, then taken out of the flow and
2014-03-25 15:19:37
400
翻译 键盘上的英文符号
!叹号exclamation mark/bang?问号question mark,逗号comma .点号dot/period/point :冒号colon ;分号semicolon "双引号quotation marks/double quote'单引号/
2014-02-27 16:33:48
665
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人