var BaiduUsers = [], WechatUsers = []; var User = function(id, name, phone, gender, age, salary) { this.id = id; this.name = name; this.phone = phone;... ...
分类:
编程语言 时间:
2018-04-29 21:13:12
阅读次数:
187
salary = int(input("please input your salary:")) shopping_car = [] Commodity_shelves = [["iphone",5800],["macbookpro",12000],["starbuck_latte",30],["A ...
分类:
其他好文 时间:
2018-04-25 10:53:23
阅读次数:
155
NoSQL介绍 NoSQL,即not only sql,泛指非关系型数据库 关系型数据库,保证数据的完整性、关联性 id name age salary 非关系型数据库,不保证数据的完整性、关联性,对数据的读写操作效率高 保证键值存储:key= value ...
分类:
数据库 时间:
2018-04-24 21:52:35
阅读次数:
186
li:nth-child(2n+1) (3n+1)1开始隔N个再开始 li:nth-child(2n) (n+5) 5之后 li:nth-child(2n) (even) 偶数 li:nth-child(odd) 奇数 li:nth-child(3n+4) 第4个开始 隔3个再来 li:nth-ch ...
分类:
其他好文 时间:
2018-04-23 15:37:00
阅读次数:
132
1.定义网格 2.移动网格:利用伪类:nth-child(n) grid-area: 1/2/2/3 表示区域,前两个是行,后两个是列,表示交换前水平第二个格 在css里添加了 .box:nth-child(6) { grid-area: 1/2/2/3; } 1 2 3 4 5 6 7 8 9 1 ...
分类:
其他好文 时间:
2018-04-22 16:08:31
阅读次数:
206
输出样式为: Info of aaa name:aaa age:23 job:IT salary:20000 方法一: name =input("name:") age =input("age:") job =input("job:") salary =input("salary:") info = ...
分类:
编程语言 时间:
2018-04-18 19:14:15
阅读次数:
192
li:nth-child(2) { color:red; } 选择器: li:nth-of-type(2){ color:red; } 显示的效果 这个时候 li:nth-child(2) 与 li:nth-of-type(2) 选择的是同一个 显示的效果是一样的 但............ 因为没 ...
分类:
其他好文 时间:
2018-04-16 23:51:12
阅读次数:
217
一、结构(位置)伪类选择器( : ) 1、:first-child 2、:last-child 3、:nth-child(n)或者:nth-child(2n)或者:nth-child(2n+1) 二、属性选择器([ ]) 1、[ 属性 ] 2、可以和正则表达式混用,如 $ 和 ^ 和 * ...
分类:
Web程序 时间:
2018-04-16 18:43:44
阅读次数:
187
#codingutf-8#1、设计一个购物车程序,提示用户输入工资,工资输入后打开商品列表,提示用户选择购买的商品#2、选择商品后,如果余额足够,就购买成功,并打印商品列表,否则购买失败,显示余额salary=int(input("请输入你的工资额度:"))goodsList=[[‘Sony彩电‘,3888],[‘Apple电脑‘,8999],[
分类:
编程语言 时间:
2018-04-16 13:12:10
阅读次数:
231
product_list=[(‘Iphone‘,8000),(‘MacPro‘,9800),(‘Bike‘,800),(‘Watch‘,10600),(‘Coffee‘,30),]shopping_list=[]salary=input("Inputyoursalary:")ifsalary.isd
分类:
编程语言 时间:
2018-04-12 22:17:13
阅读次数:
187