What is docstring?
It is a type of comment format in python, using pairs of either ''' or """.
There's a list of standard docstring format one can follow:
What is docstring?
It is a type of comment format in python, using pairs of either ''' or """.
There's a list of standard docstring format one can follow:
If you haven't read other posts, please read [it] (https://gist.github.com/99fa4e54f51f5e9d8ecd)
There are 4 ways of making inheirtance of JavaScript:
What is Sinon? It is a unit test library for JavaScript.
It has 5 parts:
See the repo for examples.
Both exports and module.export use to export module for others to use
export is used to export module instance
| #!/usr/bin/env/ python | |
| # coding=utf8 | |
| """ | |
| Print Multiplication Table (九九乘法表) | |
| Original Post: http://www.oschina.net/code/snippet_915543_37544 | |
| """ | |
| def main(): | |
| for k in range(1, 10): | |
| s = '' |