码迷,mamicode.com
首页 >  
搜索关键字:rain    ( 428个结果
November 23rd 2016 Week 48th Wednesday
I always like walking in the rain, so no one can see me crying. 我一直喜欢在雨中行走,那样就没人能看到我的眼泪。 I like walking in the sunny days, because the feeling is very ...
分类:其他好文   时间:2017-01-28 22:07:18    阅读次数:221
Python_oldboy_自动化运维之路(三)
本节内容 1.列表,元组,字典 【列表】 1.定义列表 2.通过下标访问列表中的元素,下标从0开始计数 切片:取多个元素 1 >>> names = ["Alex","Tenglan","Eric","Rain","Tom","Amy"] 2 >>> names[1:4] #取下标1至下标4之间的数 ...
分类:数据库   时间:2017-01-19 04:48:15    阅读次数:264
(寒假集训)Watering the Fields (最小生成树)
Watering the Fields 时间限制: 1 Sec 内存限制: 64 MB提交: 26 解决: 10[提交][状态][讨论版] 题目描述 Due to a lack of rain, Farmer John wants to build an irrigation system to s ...
分类:其他好文   时间:2017-01-12 21:29:50    阅读次数:350
python之路:Day01 --- Python基础2
本节内容 1.列表操作 2.元组操作 3.字符串操作 4.字典操作 5.集合操作 6.文件操作 7.字符编码与转换 一、列表操作 定义列表 通过下标访问列表中的元素,下标从0开始计数 切片:取多个元素 >>> names = ["Ming","Tenglan","Eric","Rain","Tom" ...
分类:编程语言   时间:2016-12-24 07:40:13    阅读次数:167
#查找列表中元素,移除每个元素的空格,并查找以 a或A开头 并且以 c 结尾的所有元素
1 #!/usr/bin/env python 2 #查找列表中元素,移除每个元素的空格,并查找以 a或A开头 并且以 c 结尾的所有元素。 3 # li = ["alec", " aric", "Alex", "Tony", "rain"] 4 # tu = ("alec", " aric", "... ...
分类:其他好文   时间:2016-12-23 19:20:05    阅读次数:926
if..elif语句
根据用户输入内容打印其权限 # alex --> 超级管理员 # eric --> 普通管理员 # tony,rain --> 业务主管 # 其他 --> 普通用户 name = input('请输入您名字') if name =='alex': print('超级管理员') elif name =... ...
分类:其他好文   时间:2016-12-22 14:19:18    阅读次数:137
[LintCode] Trapping Rain Water 收集雨水
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. ...
分类:移动开发   时间:2016-12-13 07:44:18    阅读次数:256
作业(2)
求 a 或 A 还有C 结尾的 元素 li = ['Alix',' aric','alix','Tonc','rain'] dic = {'k1':'Alix','k2':' aric','k3':'alix','k4':'Tony','k5':'rain'} for i in li: u = i.... ...
分类:其他好文   时间:2016-12-12 23:13:59    阅读次数:182
42. Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. ...
分类:移动开发   时间:2016-12-03 08:00:50    阅读次数:220
Leetcode: Trapping Rain Water II
The above image represents the elevation map [[1,4,3,1,3,2],[3,2,1,3,2,4],[2,3,3,2,3,1]] before the rain. After the rain, water are trapped between th ...
分类:移动开发   时间:2016-12-03 07:52:36    阅读次数:257
428条   上一页 1 ... 16 17 18 19 20 ... 43 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!