码迷,mamicode.com
首页 >  
搜索关键字:score    ( 2092个结果
python--流程控制
1、if...else循环 1.1)猜成绩 #!/usr/bin/env python score =input('分数:') score =int(score) if score >=90: print('优秀') elif score >=80: print('良好') elif score > ...
分类:编程语言   时间:2020-02-10 18:08:49    阅读次数:70
简单oracle 查询语句 转换为 mongo 查询语句
可以将简单的单表查询语句转换成Mongo过滤条件 列: 1、 SELECT score,person as name FROM demo WHERE person like '%z' and score between 80 and 100 db.demo.aggregate([ {"$match" ...
分类:数据库   时间:2020-02-10 17:57:51    阅读次数:83
1761: 学生信息删除
#include<stdio.h>struct student{ long no; char name[9]; int score;};void input(struct student stu[100],int n){ int i; for(i=0;i<n;i++) { scanf("%ld %s ...
分类:其他好文   时间:2020-02-09 20:27:01    阅读次数:81
1760: 学生信息查找
#include<stdio.h>struct student{ long no; char name[9]; int score;} ;void input(struct student stu[],int n){ int j; for(j=0;j<n;j++) { scanf("%ld %s % ...
分类:其他好文   时间:2020-02-09 20:21:26    阅读次数:60
oracle行转列
select Student, sum(case Course when '数学' then Score else null end) 数学, sum(case Course when '物理' then Score else null end) 物理, sum(case Course when ' ...
分类:数据库   时间:2020-02-09 18:19:31    阅读次数:56
python--方法也是属性
方法也是属性 我们在 class 中定义的实例方法其实也是属性,它实际上是一个函数对象: class Person(object): def __init__(self, name, score): self.name = name self.score = score def get_grade( ...
分类:编程语言   时间:2020-02-08 00:15:34    阅读次数:119
docker-daemon.json
``` touch /etc/docker/daemon.json cat > /etc/docker/daemon.json <<EOF { "oom-score-adjust": -1000, "log-driver": "json-file", "log-opts": { "max-size"... ...
分类:Web程序   时间:2020-02-07 11:00:43    阅读次数:101
1752: 学生数据排序
#include<stdio.h>struct student{ char name[9]; long no; int score[4];};void input(struct student stu[100],int n){ int i; for(i=1;i<=n;i++) { scanf("%l ...
分类:编程语言   时间:2020-02-06 20:21:54    阅读次数:69
B1001. 成绩排名
基本思路 姓名,name,学号,id,成绩,score,搞一个Student结构体,属性name、id和score 搞一个遍历,次数为n,查找属性score最小和最大的结构体,并输出相应的name和id #include <bits/stdc++.h> using namespace std; st ...
分类:其他好文   时间:2020-02-06 00:59:55    阅读次数:66
SQL经典50题
用到的表的介绍 student: sid(学生ID),sname(学生姓名),sage,ssexcourse: cid(课程ID),cname,tid(教师ID)teacher: tid,tnamesc:sid,cid,score 只是附上题目和代码,没有运行结果 1.查询"01"课程比"02"课程 ...
分类:数据库   时间:2020-02-04 15:50:52    阅读次数:124
2092条   上一页 1 ... 19 20 21 22 23 ... 210 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!