码迷,mamicode.com
首页 >  
搜索关键字:INPUT    ( 33491个结果
shell知识点(8)AWK命令详解
AWK介绍 awk(名字来源于三个创始人姓氏首字母)是linux系统下文本编辑工具,是一门编程语言,有自己的基本语法和流程控制、函数。awk简单高效。 调用AWK 1.命令行方式 awk [-F field-separator] 'commands' input-file(s) 其中,command ...
分类:系统相关   时间:2020-09-18 01:19:40    阅读次数:45
pymysql
import pymysql user=input() pwd=input() conn = pymysql.connect(host = 'localhost', user = '数据库用户名',password='数据库密码',database ='数据库名‘) cursor = conn.cu ...
分类:数据库   时间:2020-09-18 00:13:19    阅读次数:35
1292分数和
分数和 描述 计算 1+1/2+1/3+1/4+……1/n 输入 一行。一个整数n。 输出 输出结果,结果保留2位小数。 输入样例 1 5 输出样例 1 2.28 输入样例 2 100 输出样例 2 5.19 这题用到for循环,定义一个变量n,i<=n;i++。然后再循环中累加1/i。输出保留两位 ...
分类:其他好文   时间:2020-09-17 23:52:55    阅读次数:31
【leetcode】1509. Minimum Difference Between Largest and Smallest Value in Three Moves
题目如下: Given an array nums, you are allowed to choose one element of nums and change it by any value in one move. Return the minimum difference between ...
分类:其他好文   时间:2020-09-17 22:48:12    阅读次数:35
python3运算: / 和 //
关于 / 和 // 以及 : 1 a=input("a=") 2 b=input("b=") 3 print(a//b) 报错,因为python输入默认为str,所以要进行简单的修改: 1 a=int(input("a=")) 2 b=int(input("b=")) 3 print(a//b) 这 ...
分类:编程语言   时间:2020-09-17 22:01:04    阅读次数:26
input标签placeholder属性针对所有浏览器的兼容写法
::-webkit-input-placeholder { color:#f00; } ::-moz-placeholder { color:#f00; } /* firefox 19+ */ :-ms-input-placeholder { color:#f00; } /* ie */ input ...
分类:其他好文   时间:2020-09-17 21:45:02    阅读次数:31
uni-app/小程序开发实现密码输入框密码的可见与不可见切换按钮,通过点击图标实现
<view class="input-item"> <view class="img"> <image src="../../static/icons/password.png" mode=""></image> </view> <view class="input-acc"> <input typ ...
分类:微信   时间:2020-09-17 21:44:21    阅读次数:121
设置输入电话号码为11位
设置输入电话号码为11位,且不能再输入 <input type = "number" >限制只能输入数字 <input type = "number" oninput="if(value.length>11)value=value.slice(0,11)">限制输入的长度为11 ...
分类:其他好文   时间:2020-09-17 19:38:10    阅读次数:47
Salesforce: 输入框提示的实现
首先要从网站上下载js包,参考网址:http://www.enjoyxstudy.com/javascript/suggest/index.en.html 然后将js包存储在static resource中,并加载到页面上: <apex:includeScript value="{!URLFOR($ ...
分类:其他好文   时间:2020-09-17 19:29:50    阅读次数:28
Install fail! SyntaxError: Unexpected end of JSON input
1 清空缓存 cnpm cache clean --force 2 你成功了 3 删除node_modules 4 cnpm i 重新安装依赖 5 vans ...
分类:Web程序   时间:2020-09-17 17:58:44    阅读次数:61
33491条   上一页 1 ... 53 54 55 56 57 ... 3350 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!