salary = input('please input your monthly salary: ') goods_list = [ ('iphone', 5000), ('mac pro', 12000), ('TV', 4500), ('pencel', 25) ] shopping_list... ...
分类:
其他好文 时间:
2018-07-07 20:44:56
阅读次数:
143
规定属于其父元素的第二个子元素的每个 p 的背景色: 运行结果: ...
分类:
其他好文 时间:
2018-07-07 17:44:46
阅读次数:
108
表单选择器: 属性选择器: 次序选择器: :first-child 选取属于其父元素的首个子元素 :last-child 选取属于其父元素的最后一个子元素 :nth-child(n) 选取父元素的第n个子元素 :nth-last-child(n) 倒序选取父元素的第n个子元素 :first-of-t ...
分类:
Web程序 时间:
2018-07-07 17:38:57
阅读次数:
178
整型与浮点型 整形 int 作用:用来描述年纪,等级,身份证号码,qq号等整型数字相关 定义: age = 10 #本质上 age = int(10) 浮点型 作用:描述薪资,身高,体重等浮点数相关 salary = 3012.44 #本质上 salary = float(3012.44) 长整形 ...
分类:
其他好文 时间:
2018-07-07 01:11:58
阅读次数:
181
Given an array A, we may rotate it by a non-negative integer K so that the array becomes A[K], A[K+1], A{K+2], ... A[A.length - 1], A[0], A[1], ..., A ...
分类:
其他好文 时间:
2018-07-06 13:10:10
阅读次数:
253
#include #include void main() { int Employee[10] = { 27000, 32000, 32500, 27500, 28500, 29000, 31000, 32500, 30000, 26000}; int Salary; int Counter = ... ...
分类:
其他好文 时间:
2018-07-06 01:32:32
阅读次数:
134
name = input('Name : ')age = int(input('Age : '))job = input('Job : ')salary = input('Salary : ')if salary.isdigit(): # 判断长得像数字 salary = int(salary)el ...
分类:
其他好文 时间:
2018-07-04 01:19:30
阅读次数:
164
有一段时间没做数据库的题了,前面面试偶然做到这么一题目,觉得不错,凭记忆将题目记下来,然后在数据库中实现了一遍。 题目大概是这样: 一张员工表 employee,包含字段 id,name,salary,dep_no; 一张部门信息表 department,包含字段 id,dep_no,name,其中 ...
分类:
数据库 时间:
2018-07-03 14:35:09
阅读次数:
194
$list-bg:red,orange,blue,skyblue; ul{ >li{ height: 30px; @each $c in $list-bg{ $i:index($list-bg,$c); &:nth-child(#{$i+1}){//+1是除了第一个以外的li b... ...
分类:
编程语言 时间:
2018-06-28 14:06:49
阅读次数:
371
Emm.... It's a shopping cart; 1.You need input your salary; 2.Output a products list,each product mast contain a sequence number; 3.You need input thr ...
分类:
其他好文 时间:
2018-06-28 13:55:03
阅读次数:
126