![]() |
Python_2
1.0
|
Showing a range of rows of a Pascal triangle. More...
Classes | |
class | Pascal |
Class for generating and applying pascal triangles on some applications, such as probability and statistics. More... | |
Functions | |
def | main (argv=None) |
Main function for testing. More... | |
Variables | |
form = cgi.FieldStorage() | |
Showing a range of rows of a Pascal triangle.
0 1 C(0,0) 1 1 1 C(1,0) C(1,1) 2 1 2 1 C(2,0) C(2,1) C(2,2) 3 1 3 3 1 C(3,0) C(3,1) C(3,2) C(3,3) 4 1 4 6 4 1 C(4,0) C(4,1) C(4,2) C(4,3) C(4,4) 5 1 5 10 10 5 1 C(5,0) C(5,1) C(5,2) C(5,3) C(5,4) C(5,5)
0 1 2 3 4 5
def _05e_pascal.main | ( | argv = None | ) |
Main function for testing.
argv | command line arguments.
|
_05e_pascal.form = cgi.FieldStorage() |