自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(9)
  • 收藏
  • 关注

转载 Mongo初级实践——插入,删除,查询,更新

插入:from pymongo import MongoClientconn = MongoClient('127.0.0.1', 27017)db = conn.mydb my_set = db.test_setmy_set.insert({"name":"zhangsan","age":118})my_set.insert({"name":"lisi",...

2018-08-29 09:27:00 74

转载 MVC-- 网页中整、小数加法

首先看看总控制器: 1 using FloatAddBox2.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Linq; 5 using System.Web; 6 using System.Web.Mvc; 7 8 namespace FloatA...

2018-08-19 11:14:00 122

转载 装饰器练习——Python

Demo1:def add(): return 1+1def sub(): return 2-1print(add())print(sub())Demo2:def add(): return 1+1def sub(): return 2-1print(add())print(sub()...

2018-07-09 22:11:00 95

转载 父类对象对子类对象方法的调用

1 import copy 2 class Dog: 3 def Eat(self): 4 print("Dog Eating...") 5 class Son: 6 def __init__(self): 7 self.height=100 8 def Eat(self): 9 ...

2018-06-30 16:36:00 137

转载 Python----父与子的关系

1 class Parent(object): 2 def __init__(self,name,address,assets): 3 self.__name=name 4 self._iq=90 5 self._eq=60 6 self._faceScore=40 7 ...

2018-06-28 21:28:00 169

转载 分析句子,以空格为分割找出单词

ans=input()v=[]move=[]for m in ans: if m==" ": v.append(move[0:]) move=[] elif m != ans[-1]: move.append(m) else: move.append(ans[-1])...

2018-05-06 07:06:00 154

转载 模拟成绩数据库

1 name_score={} 2 n=0 3 while n==0: 4 a="0" 5 r=input("You are a teacher or a student?if you are a student,please input '1',else,you can input 't'") 6 if r=="1": 7 ...

2018-02-04 19:41:00 109

转载 【算法竞赛-入门经典】圆柱体的表面积

1.练习目的:输入底面半径r和高h,输出圆柱体的表面积。2.源码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <math.h> 4 5 int main() 6 { 7 const double pi =acos(-1.0); 8 ...

2018-01-07 10:35:00 217

转载 【算法竞赛-入门经典】计算并输出1+2的值

1.练习目的:计算并输出1+2的值2.源码:1 #include <stdio.h>2 int main()3 {4 5 printf("%d\n",1+2);6 return 0;7 }3.总结:略...转载于:https://www.cnblogs.com/Exesoft-Mike/p/8227460...

2018-01-07 10:24:00 210

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除