01Design and Analysis Algorithm Using Python-程振波
Posted chengxiaofeng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了01Design and Analysis Algorithm Using Python-程振波相关的知识,希望对你有一定的参考价值。
1.(p14)比较两个数的大小
a = int(input(‘num:‘)) b = int(input(‘num:‘)) def getMax(a,b): if a>b : print(‘The bigger number is a:‘) else: print(‘The bigger number is b:‘) getMax(a,b)
2.
以上是关于01Design and Analysis Algorithm Using Python-程振波的主要内容,如果未能解决你的问题,请参考以下文章
[Stanford Algorithms: Design and Analysis, Part 2]
Algorithms: Design and Analysis, Part 1 - Programming Assignment #1
微带天线读书: Microstrip Antennas: The Analysis and Design of Microstrip Antennas and Arrays
[Stanford Algorithms: Design and Analysis, Part 2] c27 The Knapsack Problem
[Stanford Algorithms: Design and Analysis, Part 2] c25 HUFFMAN CODES
[Stanford Algorithms: Design and Analysis, Part 2] c28 Sequence Alignment Optimal Substructure