1.输入一个数字,求从1到这个数的所有十位数和个位数不相同的数字组合及这样的数的个数: 2.9*9乘法表的输出: ...
分类:
编程语言 时间:
2018-06-29 22:22:32
阅读次数:
131
#3某次程序大赛,S1班有4名学员参加,学员的成绩由用户输入,计算该班参赛学员的平均分list1 = []#全局变量,用于接收所有的输入的数据def avg1(): global avg#定义全局变量,算平均分 sum = 0 for i in range(1,5): num = int(input ...
分类:
其他好文 时间:
2018-06-29 20:42:25
阅读次数:
188
# 学生信息录入展示代码 # 输入要录入的学生总数 # 录入学生基本信息 # 学生信息录入完毕展示给用户 ...
分类:
编程语言 时间:
2018-06-29 17:17:02
阅读次数:
115
项目中一个功能是拍照上传,开始想着不是很简单吗?不就是 <input type="file" id="file" accept="image/*;capture=camera" /> 但是由于目前做的是混合app,在ios下是可以正常拍照的,安卓用扣扣,UC各种浏览器打开也都没问题,然而安卓一旦脱离 ...
分类:
移动开发 时间:
2018-06-29 14:00:32
阅读次数:
528
::-webkit-input-placeholder { /* WebKit browsers */ color:#A6A6A6; font-size: 16px;}:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color:#A6A6A6; f ...
分类:
其他好文 时间:
2018-06-28 23:02:17
阅读次数:
286
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 使用if 判断绕过重复的while循环。 ...
分类:
其他好文 时间:
2018-06-28 22:59:58
阅读次数:
320
public class Test{ private static PropertiesUtil propertiesUtil = new PropertiesUtil("file.properties"); //根据文件中的key获取value值 String value = properties... ...
分类:
其他好文 时间:
2018-06-28 10:58:19
阅读次数:
167
<style> input::-webkit-input-placeholder{ color:red; } input::-moz-placeholder{ /* Mozilla Firefox 19+ */ color:red; } input:-moz-placeholder{ /* Mozi ...
分类:
其他好文 时间:
2018-06-27 20:05:41
阅读次数:
114