![]() |
Python
1.0
|
Namespaces | |
_08c_rightTriangle | |
Print the right triangle with the length of two of its sides equal to a given value \(n\), using the symbols + and =, in each of its four possible orientations. | |
Functions | |
def | _08c_rightTriangle.rightTriangle (n, orientation=0) |
Return a string representing the right triangle of height n in a given orientation. More... | |
def | _08c_rightTriangle.getAllTriangles (n) |
Generates and interleaves all four orientations for printing. More... | |