码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
简单的密码生成器 Python
呵呵,就需要9行代码就搞定了。用Pycharm新建一个Python文件。代码如下:importrandomimportstringpopulation=string.ascii_letters+string.digitsdefgetRandomName(length=6):name=‘‘.join(random.sample(population,length))returnnam
分类:编程语言   时间:2018-11-02 11:12:46    阅读次数:192
CSS中的单位
absolute units in 英寸 cm 厘米 mm 毫米 pt 磅 (1 pt 等于 1/72 英寸) pc 12点活字 (1 pc 等于 12 点) The relation between the absolute units is as follows: 1in = 2.54cm = ...
分类:Web程序   时间:2018-11-01 22:30:55    阅读次数:270
18.10.29 POJ 3987 Computer Virus on Planet Pandora(AC自动机+字符串处理)
描述 Aliens on planet Pandora also write computer programs like us. Their programs only consist of capital letters (‘A’ to ‘Z’) which they learned from ...
分类:Web程序   时间:2018-10-30 00:28:01    阅读次数:211
POJ 1577 Falling Leaves 二叉搜索树
HDU 3791 Falling Leaves 二叉搜索树 Figure 1Figure 1 shows a graphical representation of a binary tree of letters. People familiar with binary trees can ski ...
分类:其他好文   时间:2018-10-29 23:36:01    阅读次数:334
【Uva 129】Krypton Factor(困难的串)
YouhavebeenemployedbytheorganisersofaSuperKryptonFactorContestinwhichcontestantshaveveryhighmentalandphysicalabilities.Inonesectionofthecontestthecontestantsaretestedontheirabilitytorecallasequenaceof
分类:其他好文   时间:2018-10-27 19:54:10    阅读次数:127
0.面向对象的操作逻辑&seq_along
没接触过面向对象的语言,运用R的时候还会保留一些过去的操作逻辑,比如构造循环啊什么的,这些东西R已经为你准备好了。 《O'reilly-R》练习4.1:第n个三角形数表示为n*(n+1)/2。创建一个包含前20个三角形数的序列。R有一个内置常数letters,它包含小写的英文字母。使用前20个英文字 ...
分类:其他好文   时间:2018-10-27 00:20:28    阅读次数:994
python学习_21
string模块importstringstring.ascii_letters‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ‘string.ascii_lowercase‘abcdefghijklmnopqrstuvwxyz‘string.ascii_uppercase‘ABCDEFGHIJKLM
分类:编程语言   时间:2018-10-25 19:23:24    阅读次数:209
CodeForces B. Obtaining the String
http://codeforces.com/contest/1015/problem/B You are given two strings ss and tt. Both strings have length nn and consist of lowercase Latin letters. ...
分类:其他好文   时间:2018-10-24 22:28:42    阅读次数:448
[leetcode]791. Custom Sort String自定义排序字符串
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:编程语言   时间:2018-10-24 10:43:35    阅读次数:223
把骆驼命名法的变量,变为大写字母变小写且之前加下划线
/** * 把骆驼命名法的变量,变为大写字母变小写且之前加下划线 * * @param str * @return */ public static String toUnderline(String str) { str = StringUtils.uncapitalize(str); char[ ...
分类:其他好文   时间:2018-10-22 15:45:33    阅读次数:285
1345条   上一页 1 ... 21 22 23 24 25 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!