自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wesegm的博客

心怀敬畏

  • 博客(16)
  • 资源 (3)
  • 收藏
  • 关注

原创 2021-08-28

1140 Look-and-say Sequence 20 Look-and-say sequence is a sequence of integers as the following:Input Specification:Output Specification:show me the codesLook-and-say sequence is a sequence of integers as the following:D, D1, D111, D113, D11231, D11221311

2021-08-28 20:16:55 176

原创 Python 实战 emu ipython pandas作业

题目地址https://nbviewer.jupyter.org/github/schmit/cme193-ipython-notebooks-lecture/blob/master/Exercises.ipynb摘要Anscombe’s quartet Anscombe’s quartet comprises of four datasets, and is rathe...

2018-06-13 17:04:46 509

原创 Python 实战 SciPy作业

题目Exercise 10.1: Least squaresGenerate matrix A 2 Rmn with m > n. Also generate some vector b 2 Rm.Now nd x = arg minx kAx �� bk2.Print the norm of the residual.Exercise 10.2: Optimizat...

2018-06-04 21:21:14 635

原创 Python 实战 Matplotlib 作业

题目Exercise 11.1: Plotting a functionPlot the functionf(x) = sin2(x �� 2)e��x2over the interval [0; 2]. Add proper axis labels, a title, etc.Exercise 11.2: DataCreate a data matrix X with 20 o...

2018-05-30 17:34:34 557

原创 Python Numpy matrix计算 初试

准备numpy.random.normal(local,scale,size) size是二元组,代表生成的随机高斯矩阵大小,local为均值,scale为方差numpy.dot(A,B) 矩阵乘法 A * Bnumpy.identity(size) size为单位矩阵大小from scipy.linalg import toeplitz。 Toeplitz 矩阵 sci...

2018-05-23 16:21:21 869

原创 [Python实战] leetcode #055 #120 #134

#055 Jump Game题解典型的贪心算法题目题目描述Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that

2018-05-02 21:50:52 218

原创 Python 从入门到实践 第十章作业

10-1import jsonwith open('pyhton.txt') as file_object: contents = file_object.read() print(contents) print(contents) print(contents)with open('pyhton.txt') as file_object: fo...

2018-04-08 22:17:59 282

原创 Python 从入门到实践 第九章作业

9-1 9-2 9-4#9-1 9-2 9-4class Restaurant(): def __init__(self,restaurant_name,cuisine_type): self.restaurant_name=restaurant_name self.cuisine_type=cuisine_type self.nu...

2018-04-08 22:13:25 352

原创 Python编程 从入门到实践 第八章作业

8-1#8-1 消息 :编写一个名为display_message() 的函数,它打印一个句子,指出你在本章学的是什么。调用这个函数,确认显示的消息正确无误。def display_message(): print("I am learning functions in this charpter.")display_message()8-2#8-2 喜欢的图书 :编...

2018-03-29 10:12:44 1079

原创 Python编程:从入门到实践 第七章作业解答

7-1#7-1 汽车租赁 :编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息,# 如“Let me see if I can find you a Subaru”。car = input("What kind of car do you want to rent?\n>>>")print("Let me see if I can find you a"...

2018-03-28 20:37:29 548

原创 Python编程:从入门到实践 第六章习题

代码:#6-1Han = { "first_name":"tan", "last_name":"jin", "age":10, "city":"Guangzhou"}print(Han)print("#6-1--------------")#6-3assembly = { "jmp":"go to specific position",

2018-03-25 21:04:38 497

原创 Python编程:从入门到实践 第五章习题解析

已经标有题号了,就不额外多讲了。#5-2str1 = "abc"str2 = "Abc"str3 = "ABC"n1 = 10n2 = 11print(str1 == str2)print(str1 == str2.lower())print(n1 < n2)print(n1 <= n2)print(n1 == n2)print(n1 > n2)

2018-03-25 20:29:20 648

原创 Python编程 从入门到实践 第四章 作业参考答案 (部分)

4-2 动物animals = ["dog","cat","panda","squirrel"]for a in animals: print(a.title())for a in animals: print("A",a,"could be so cute!")print("Any of these could be a cute icon!"

2018-03-18 19:13:45 3012

原创 Python编程 从入门到实践 第三章 作业参考答案

3-1 3-2 姓名 问候语names = ["书涵","剑权","泽坤"]sayhi = ",你好呀~~"for name in names: print(name)print('----------')for name in names: print(name,sayhi)================= RESTART: D:/program/Python...

2018-03-15 23:02:34 1841

原创 Python编程 从入门到实践 部分习题解答 第二章

2-1  简单消息message = "Hello, everyone!"print(message)2-2 多条简单消息message = "Hello, everyone!"print(message)message += "Good afternoon!"print(message)2-3、2-4 个性化消息 &amp; 调整名字的大小写name = input("hello, w...

2018-03-11 19:45:09 329

原创 Python 之收获与展望

Python 是一门简洁,开源的高级编程语言。它是一门脚本语言,无需编译即可运行。(当然相应的速度会比编译语言要慢一些)。Python具有语法简单的特点。阅读一下语法,有其他编程语言经验的很快就能入手。Python的功能强大,Python能做的事情从Web开发、科学计算、机器学习、数据分析挖掘、量化交易、网络爬虫等等。豆瓣,Instagram,Reddit 乃至 Youtube 都采用了以Pyth...

2018-03-11 19:00:14 3330

Dev_C___v6.3.zip

Dev-Cpp 6.3版本,截止2021年7月最新的版本。由于外网下载较慢,搬运到csdn方便各位下载。关联Dev-Cpp 5.11

2021-07-12

数据库系统概念 第六版 原版ppt合集 Database System Concepts Sixth Edition

数据库系统概念 第六版 原版ppt合集 Database System Concepts Sixth Edition ppt

2018-09-05

nasm 最新版安装包

nasm 安装包 nasm assembly 汇编 编译 nasm assembly 汇编 编译 nasm assembly 汇编 编译

2018-03-27

空空如也

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

TA关注的人

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