[TOC] "原文地址" Numbers 六、数字 This section describes new options user have when defining numbers. UDL number panel received major update in Notepad++ vers ...
分类:
其他好文 时间:
2020-03-02 20:21:13
阅读次数:
107
刚开学便被拉去参加了研究生数模比赛,赛题是一个航班排班的优化问题,所以第一反映便是遗传算法,比赛期间三个问题都使用单目标遗传算法,趁着还比较熟悉,特此记录,以便后续复习。本篇文章使用Python进行实现。 启发式算法 启发式算法是一种技术,这种技术使得在可接受的计算成本内去搜寻最好的解,但不一定能保 ...
分类:
编程语言 时间:
2020-03-02 19:03:44
阅读次数:
107
1 def v_code(): 2 code_str = '' 3 for i in range(5): 4 import random 5 num = random.randint(0,9) 6 str1 = chr(random.randint(65,90)) 7 str2 = chr(rand ...
分类:
其他好文 时间:
2020-03-02 14:25:33
阅读次数:
50
Rotation: Provided a vector $\vec{S}$,considering rotating the orthogonal base vectors $\{\hat{e_1},\hat{e_2},\hat{e_3}\}$ into new orthogonal base ve ...
分类:
其他好文 时间:
2020-03-02 12:50:38
阅读次数:
55
在Python中,列表理解通常用于编写单行语句,这些语句通过可迭代对象进行迭代以创建新的列表或字典。本文首先介绍for循环如何在Python中工作,然后解释如何在Python中使用列表理解。 Python中的for循环 Python中的for循环语句按顺序遍历任何对象、列表、字符串等的成员。与其他编 ...
分类:
编程语言 时间:
2020-03-02 10:55:53
阅读次数:
54
1. Description notes: 2. Examples: 3. Solution: 1 """ 2 created by sheepcore on 2020-03-02 3 """ 4 from typing import List 5 6 7 def smallerNumbersTha ...
分类:
编程语言 时间:
2020-03-02 10:44:31
阅读次数:
78
Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For ...
分类:
其他好文 时间:
2020-03-02 10:41:36
阅读次数:
89
练习使用for循环打印乘法口诀表 for i in range(1,10):#行循环 for j in range(1,i+1):#列循环 print(str(i)+"*"+str(j)+"="+'%-3s'%str(i*j),end=" ")#end=""列循环后不换行,'%-3s'左对齐占3个字 ...
分类:
其他好文 时间:
2020-03-02 10:28:51
阅读次数:
44
抓取行政区划数据 [TOC] 天地图接口 天地图官网都有相关介绍,这里只是简单的搬运一下。 接口说明地址: "http://lbs.tianditu.gov.cn/server/administrative.html" 接口信息 天地图行政区划API是一类简单的HTTP/HTTPS接口,提供由行政区 ...
分类:
其他好文 时间:
2020-03-02 01:17:47
阅读次数:
602
微信公众号: "Fintech极客" 作者为软件开发工程师,就职于金融信息科技类公司,通过CFA一级,分享计算机和金融相结合领域的技术和知识。 C 8.0中的新功能 C 8.0已经推出来好长一段时间了, 由于公司目前主要使用的还是6.0版本,加上之前个人事情较多,一直没有总结,今天主要查看和测试微软 ...