![]() |
Python
1.0
|
Formatting prints. More...
Functions | |
def | xis (n) |
Prints an X using asterisks. More... | |
def | main () |
Formatting prints.
def _08b_xis.main | ( | ) |
References _01d_dec2bin.input, and xis().
def _08b_xis.xis | ( | n | ) |
Prints an X using asterisks.
The X is parameterized by n, which indicates the number of lines: lines = 2n+1
For n = 2 (5 lines):
n | order of the X: lines = 2n+1. |
Referenced by main().