叶逸灵
叶逸灵
全部文章
分类
ACM/ICPC(3)
algs4(1)
C(2)
C++(1)
Java(1)
Linux(1)
MSSQL(1)
MySQL(3)
Python(1)
web(1)
工具使用(1)
数学知识(1)
未归档(22)
蓝桥杯(1)
面试题(1)
归档
标签
去牛客网
登录
/
注册
叶逸灵的博客
全部文章
(共41篇)
数据结构_字典
def add(a, b): return a + b def sub(a, b): return a - b def demo_dict(): dicta={4:16,1:1,2:4,3:9} # dicta = {4: 16, 1: 1, 2: 4, 3: ...
2018-01-25
0
394
Python输出格式控制
2018-01-15
0
281
根据数据文件在窗口中动态路径绘制
#根据数据文件在窗口中动态路径绘制 import turtle def main(): #设置窗口信息 turtle.title('数据驱动的动态路径绘制') turtle.setup(800,600,0,0) #设置画笔 pen=turtle.Turtle(...
2018-01-05
0
468
drawtree
# drawtree.py from turtle import Turtle, mainloop def tree(plist, l, a, f): """ plist is list of pens l is length of branch...
2018-01-05
0
354
字符串处理方法
2018-01-02
0
342
python图形绘制
import turtle def drawSnake(rad,angle,len,nackrad): for i in range(len): turtle.circle(rad,angle)#rad:圆形轨迹半径的位置;angle:轨迹弧度值 turt...
2018-01-02
0
370
Python3.6保留字
2018-01-01
0
348
多态
#include<iostream> using namespace std; class Base{ public: void fun1(){this->fun2();}//this是基类指针,fun2是虚函数,所以是多态 virtual void fu...
2017-11-05
0
404
继承时的内存问题
#include<iostream> using namespace std; class c{ private: int real,imag; public: int a,b; }; class ss:c { int aa; }; int mai...
2017-11-01
0
313
继承的内存问题
#include<iostream> using namespace std; class c{ private: int real,imag; public: int a,b; }; class ss:c { int aa; }; int mai...
2017-11-01
0
318
首页
上一页
1
2
3
4
5
下一页
末页