上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 341 下一页
摘要: What is Python? Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It 阅读全文
posted @ 2022-04-01 21:20 emanlee 阅读(77) 评论(0) 推荐(0)
摘要: Turtle is a special feathers of Python. Using Turtle, we can easily draw in a drawing board. First we import the turtle module. Then create a window, 阅读全文
posted @ 2022-04-01 20:18 emanlee 阅读(162) 评论(0) 推荐(0)
摘要: Python provides various options for developing graphical user interfaces (GUIs). The most important features are listed below. Tkinter − Tkinter is th 阅读全文
posted @ 2022-04-01 19:08 emanlee 阅读(149) 评论(0) 推荐(0)
摘要: Mathematically a set is a collection of items not in any particular order. A Python set is similar to this mathematical definition with below addition 阅读全文
posted @ 2022-04-01 19:07 emanlee 阅读(59) 评论(0) 推荐(0)
摘要: 01 Python 3 - Tutorial 02 Python 3 - Overview 03 Python 3 - Environment Setup 04 Python 3 - Basic Syntax 05 Python 3 - Variable Types 06 Python 3 - Ba 阅读全文
posted @ 2022-04-01 15:25 emanlee 阅读(52) 评论(0) 推荐(0)
摘要: Jaccard相似系数 Jaccard相似系数衡量的则是两个集合的相似性,它定义为两个集合的交集元素在并集中所占的比例。 与Jaccard相似系数相反,Jaccard距离则用不同元素所占的比例来衡量两个集合的区分度。 Jaccard index, 又称为Jaccard相似系数(Jaccard sim 阅读全文
posted @ 2022-04-01 12:40 emanlee 阅读(1464) 评论(0) 推荐(0)
摘要: Memory Alignment NumPy alignment goals There are three use-cases related to memory alignment in NumPy (as of 1.14): Creating structured datatypes with 阅读全文
posted @ 2022-03-29 22:42 emanlee 阅读(74) 评论(0) 推荐(0)
摘要: 两个齿轮共有18个齿和63个齿 其中某一对指定的齿从第一次相遇到第二次相遇,18个齿的齿轮要转多少周,63个齿的齿轮要转多少周 某个齿从第一次相遇到第二次相遇,则它们转动经过的齿数应是两个齿轮齿数的最小分倍数 甲、乙两人同时从A地出发,以相同的速度向B地前进,甲每行6分钟休息2分钟,乙每行210米休 阅读全文
posted @ 2022-03-27 23:10 emanlee 阅读(322) 评论(0) 推荐(0)
摘要: datetime random math any, all map, reduce, filter zip datetime 当前时间戳 import time # 引入time模块 ticks = time.time() print ("当前时间戳为:", ticks) # 当前时间戳为: 164 阅读全文
posted @ 2022-03-25 10:55 emanlee 阅读(240) 评论(0) 推荐(0)
摘要: 实例⽅法 定义:第⼀个参数必须是实例对象,该参数名⼀般约定为“self”,通过它来传递实例的属性和⽅法(也可以传类的属性和⽅法); 调⽤:只能由实例对象调⽤。类⽅法 定义:使⽤装饰器@classmethod。第⼀个参数必须是当前类对象,该参数名⼀般约定为“cls”,通过它来传递类的属性和⽅法(不能传 阅读全文
posted @ 2022-03-23 23:17 emanlee 阅读(180) 评论(0) 推荐(0)
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 341 下一页