摘要: 数据预处理: # -*- coding: utf-8 -*- """ Created on Tue Mar 29 18:52:22 2022 @author: 86150 """ #-*- coding: utf-8 -*- def cm_plot(y, yp): from sklearn.metr 阅读全文
posted @ 2022-03-29 19:19 菜鸟小陈狠菜 阅读(36) 评论(0) 推荐(0)
摘要: 1.学习项目: 制作网易云课堂网站; 2.学习内容:html——学习各种标签 eg:div、span、input等等 css——学习对标签的修饰 eg:background、width、height 等等 javascript——学习交互方法 eg:onclick、onmouseover等等 近期学 阅读全文
posted @ 2021-10-09 14:02 菜鸟小陈狠菜 阅读(30) 评论(0) 推荐(0)
摘要: z-indent(层次结构) (1)同级后者顶;子级受父级影响,父顶子必顶,父底子再大也是底,除非父级没有定过postion和z-Index,子便是父级; (2)IE6 和 IE7 中,因为z-index的默认值是0;在 W3C 浏览器中的 z-index 均为 auto(注:不参与层级比较 (3) 阅读全文
posted @ 2021-10-05 17:40 菜鸟小陈狠菜 阅读(54) 评论(0) 推荐(0)
摘要: 1.题目要求:能自动生成小学四则运算题目,且每一道题目的运算结果不能为负。 2.软件功能:此次升级过程中主要对功能方面进行升级,例如增加可自由选择出题数量等。 3思路: (1)四则运算加减乘除,采用两个随机数,由于不能出现负数,则对两个随机数进行比较大小再进行减法运算,除法一向特殊,所以在随机数的取 阅读全文
posted @ 2021-09-27 21:09 菜鸟小陈狠菜 阅读(69) 评论(0) 推荐(0)
摘要: import time from random import random scale = 10 print("执行开始".center(scale//2, "-")) start=time.perf_counter() DARTS=1000*1000 hits=0.0 for i in range 阅读全文
posted @ 2020-03-31 23:14 菜鸟小陈狠菜 阅读(156) 评论(0) 推荐(0)
摘要: import turtledef drawTriangle(num,len,flag):#flag用来调整画三角形的方向 flag*=-1 len/=2 if(num==1): if(flag==1): turtle.left(60) turtle.fd(len) turtle.right(120) 阅读全文
posted @ 2020-03-15 09:20 菜鸟小陈狠菜 阅读(274) 评论(0) 推荐(0)
摘要: import turtle turtle.left(30) turtle.forward(144) turtle.right(60) turtle.forward(144) turtle.right(60) turtle.forward(144) turtle.right(60) turtle.fo 阅读全文
posted @ 2020-03-15 09:18 菜鸟小陈狠菜 阅读(136) 评论(0) 推荐(0)
摘要: import turtle import time turtle.pensize(4) turtle.pencolor("yellow") #画笔黄色 turtle.fillcolor("red") #内部填充红色 #绘制五角星# turtle.begin_fill() for _ in range 阅读全文
posted @ 2020-03-15 09:15 菜鸟小陈狠菜 阅读(94) 评论(0) 推荐(0)