码迷,mamicode.com
首页 >  
搜索关键字:nth highest salary    ( 1735个结果
dict字典练习题
#1、定义工资字典五名员工姓名和公司salary = {'李广彦':5500,'张超':3800,'王五':5600,'朱纯闯':2000,'焦建强':3400,'张建强':4500,'王琼':4500,'聂守龙':0}#2、遍历字典for k,v in salary.items(): print( ...
分类:其他好文   时间:2018-06-26 17:13:43    阅读次数:198
CSS3中新增属性总结
1 伪类选择器(用于选择子元素用的)table tr:nth-of-type(odd)  奇数行table tr:nth-of-type(even) 偶数行table tr:nth-child(odd) 奇数行table tr:nth-child(even) 偶数行效果如下::nth-child(参数) 更加灵活n+i:表示从第i行开始往后全部选中i:表示只选中当前的第i行2n/3n:表
分类:Web程序   时间:2018-06-26 10:53:53    阅读次数:221
HDU 2071 Max Num
http://acm.hdu.edu.cn/showproblem.php?pid=2071 Problem Description There are some students in a class, Can you help teacher find the highest student . ...
分类:其他好文   时间:2018-06-25 21:47:43    阅读次数:138
基本数据类型
数据类型的分类: 1、数字型: 整型(int):用于标识年龄、等级、号码、个数等。 定义:age=10,#age=int(10) 浮点型(float):用于标识体重,身高,薪资等。 定义:salary=3.1,#salary=float(3.1) 2、字符串(str): 例:name=‘egon’ ...
分类:其他好文   时间:2018-06-24 20:56:43    阅读次数:140
sql语句之from子句
如何从表中查询一个字端的数据 select 字段名 from 表名; 演示:从s_emp表中把月薪查询出来 如何从表中查询多个字段的内容 select 字段名1 ,字段名2 from 表名; 演示:把s_emp表中的id first_name salary的数据查询出来 如何查询表中所有字段对应的值 ...
分类:数据库   时间:2018-06-20 21:28:44    阅读次数:1420
字符串 格式化输出
name = input("name:")age = int(input("age:"))job = input("job:")salary = input("salary:")if salary.isdigit(): #长的像不像数字,比如200d。“200” salary = int(salar ...
分类:其他好文   时间:2018-06-18 14:30:23    阅读次数:169
nginx 学习资料
nginx 学习资料 table th:first of type { width: 90px; } table th:nth of type(2) { } table th:nth of type(3) { width: 400px; } 知识 | 链接网址 | 说明 | | nginx | ht ...
分类:其他好文   时间:2018-06-17 20:49:37    阅读次数:127
nth-child(n) 与 nth-of-type(n)  区别
举例: li p:nth-child(2) { ........ } 是指 li p:nth-of-type(1) { ..... } 是指 如果li 中都是同一类型的标签,nth-child(n)则是指第n个子元素 如果li 中不是同一类型的标签,nth-child(n)则是指 [父元素]的第n个 ...
分类:其他好文   时间:2018-06-14 18:41:44    阅读次数:196
692. Top K Frequent Words
问题描述: Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two w ...
分类:其他好文   时间:2018-06-13 11:46:05    阅读次数:167
166 链表倒数第n个结点
原题网址:https://www.lintcode.com/problem/nth-to-last-node-in-list/description 描述 找到单链表倒数第n个节点,保证链表中节点的最少数量为n。 描述 描述 找到单链表倒数第n个节点,保证链表中节点的最少数量为n。 找到单链表倒数第 ...
分类:其他好文   时间:2018-06-11 23:39:57    阅读次数:164
1735条   上一页 1 ... 47 48 49 50 51 ... 174 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!