info = ''' info of %s name:%s age: %s job:%s salary: %s '''%(name,name,age,job,salary) print(info) ...
分类:
其他好文 时间:
2017-11-27 01:17:36
阅读次数:
128
#int整型 定义:age=10 #age=int(10) 用于标识:年龄,等级,身份证号,qq号,个数 #float浮点型 定义:salary=3.1 #salary=float(3.1) 用于标识:工资,身高,体重, #int(整型) 在32位机器上,整数的位数为32位,取值范围为-2**31~ ...
分类:
其他好文 时间:
2017-11-26 23:01:07
阅读次数:
206
# 字符串格式化name = input("name:")age = int(input("age:"))job = input("job:")salary = input("salary:")if salary.isdigit(): # 判断是否是数字 salary = int(salary)# ...
分类:
编程语言 时间:
2017-11-26 12:54:20
阅读次数:
154
Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... Note:n is positive and will fit within the range of a 32-bi ...
分类:
其他好文 时间:
2017-11-23 10:53:06
阅读次数:
118
各个源的优先级:highest:倒车、对话框medium:蓝牙电话、蓝牙铃声、语音lower:AudioOff(静音)、PowerOfflowest:Radio、USB、IPod、BAT、Carlife、MCan、TTS 1,从收音切到usb音乐流程 一,首先将收音源设置为SUSPEND,将音乐源设 ...
分类:
其他好文 时间:
2017-11-19 22:48:57
阅读次数:
227
示例: 1) 查询出工资高于3000的员工信息 select * froms_emp e where e.salary>3000; 2) 查询出名为Carmen的员工所有信息 select * from s_emp e wheree.first_name ='Carmen'; 【oracle sql ...
分类:
数据库 时间:
2017-11-16 20:43:47
阅读次数:
280
NLS parameters can be set using the five methods listed. Put the methods in order from highest tolowest according to Oracles order of precedence:A. De ...
分类:
其他好文 时间:
2017-11-14 19:45:43
阅读次数:
160
以"百度首页"->"设置"->"搜索设置"为例介绍Select方法多种用法 法一:直接定位列表框中元素,如:选择”每页显示20 条”driver.find_element_by_css_selector('#nr > option:nth-child(2)').click() 法二:通过index ...
分类:
其他好文 时间:
2017-11-14 16:25:36
阅读次数:
127
Given a linked list, remove the nth node from the end of list and return its head. For example, ...
分类:
其他好文 时间:
2017-11-14 14:30:30
阅读次数:
106
Description There are some students in a class, Can you help teacher find the highest student . Input There are some cases. The first line contains an ...
分类:
其他好文 时间:
2017-11-11 23:52:30
阅读次数:
365