函数的定义 首先,我们要定义一个函数, 以说明这个函数的功能。 这个函数的功能是求两个数的平方和。 首先,def,这个关键字通知python:我在定义一个函数。square_sum是函数名。 括号中的a, b是函数的参数,是对函数的输入。参数可以有多个,也可以完全没有(但括号要保留)。 我们已经在循 ...
分类:
编程语言 时间:
2017-06-12 16:20:36
阅读次数:
134
A square township has been divided up into N2 square plots (1 <= N <= 7). The Farm is located in the upper left plot and the Market is located in the ...
分类:
其他好文 时间:
2017-06-11 17:22:56
阅读次数:
201
Squares Time Limit: 3500MS Memory Limit: 65536K Total Submissions: 17666 Accepted: 6735 Description A square is a 4-sided polygon whose sides have equ ...
分类:
其他好文 时间:
2017-06-11 10:09:17
阅读次数:
140
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve ...
分类:
其他好文 时间:
2017-06-11 10:05:05
阅读次数:
180
Red and Black Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a bla ...
分类:
其他好文 时间:
2017-06-10 21:35:27
阅读次数:
245
1.list-style-type 值 说明 none 无标记符号 dise 实心圆 默认值 cirde 空心圆 square 实心正方形 decimal 数字 2.list-style-image li{list-style-image:图片路径; list-style-type:none; } ...
分类:
其他好文 时间:
2017-06-09 00:53:33
阅读次数:
126
1.list-style-type 值 说明 none 无标记符号 dise 实心圆 默认值 cirde 空心圆 square 实心正方形 decimal 数字 2.list-style-image li{list-style-image:图片路径; list-style-type:none; } ...
分类:
其他好文 时间:
2017-06-08 20:30:21
阅读次数:
145
UML类图,描写叙述对象和类之间相互关系的方式包含:依赖(Dependency)、关联(Association)、聚合(Aggregation)、组合(Composition)、泛化(Generalization)、实现(Realization)等。 依赖(Dependency) A依赖B,表示A会 ...
分类:
其他好文 时间:
2017-06-08 14:05:30
阅读次数:
356
1.list-style-type 值 说明 none 无标记符号 dise 实心圆 默认值 cirde 空心圆 square 实心正方形 decimal 数字 2.list-style-image li{list-style-image:图片路径; list-style-type:none; } ...
分类:
其他好文 时间:
2017-06-07 23:13:14
阅读次数:
221