# 1、使用while循环输入 1 2 3 4 5 6 8 9 10 count = 0 while count 2: print("go away") else: print('please try again') ...
分类:
其他好文 时间:
2018-03-16 21:36:10
阅读次数:
213
6.1-1 在高度为 h 的堆中,元素最多有 2h+1 - 1 个,最少有 2h 个。注意算法导论里的高度是指深度,从 0 开始而不是从 1 开始。 6.1-2 这很好想,但是不好证明。 由已知高度为 h 的堆,它的元素个数满足 2h <= n <= 2h+1 - 1 ,解出 lg(n+1) - 1 ...
分类:
编程语言 时间:
2018-01-27 11:42:24
阅读次数:
206
Your task is to define the following two methods for the intSet class: Define an intersect method that returns a new intSet containing elements that a ...
分类:
其他好文 时间:
2017-12-11 14:18:19
阅读次数:
132
Exercise: odd tuples 5/5 points (graded) ESTIMATED TIME TO COMPLETE: 5 minutes Write a procedure called oddTuples, which takes a tuple as input, and r ...
分类:
其他好文 时间:
2017-12-02 23:26:03
阅读次数:
136
Deep Neural Network - Application Congratulations! Welcome to the fourth programming exercise of the deep learning specialization. You will now use ev ...
分类:
移动开发 时间:
2017-11-28 17:52:47
阅读次数:
207
Building your Deep Neural Network: Step by Step Welcome to your third programming exercise of the deep learning specialization. You will implement all ...
分类:
Web程序 时间:
2017-11-24 16:53:33
阅读次数:
231
Python Basics with numpy (optional)Welcome to your first (Optional) programming exercise of the deep learning specialization. In this assignment you w ...
分类:
编程语言 时间:
2017-11-10 00:15:48
阅读次数:
229
Please note that when you are working on the programming exercise you will find comments that say "# GRADED FUNCTION: functionName". Do not edit that ...
分类:
其他好文 时间:
2017-11-09 22:28:04
阅读次数:
107
1.The Rom BIOS 计算机启动时物理地址为0x000ffff0,是在64KB的ROM BIOS的顶端。此时CS为0xf000 and IP = 0xfff0。第一条指令为长跳转至CS = 0xf000 and IP = 0xe05b. 0xffff0是BIOS末端(0x100000)前16 ...
分类:
其他好文 时间:
2017-10-29 20:23:06
阅读次数:
215
kaggle-titantic, from: https://www.youtube.com/watch?v=siEPqQsPLKA install matplotlib: conda install matplotlib install scikit-learn: conda install sc ...
分类:
编程语言 时间:
2017-10-28 20:32:52
阅读次数:
265