├── .py ├── README.md └── test.txt /.py: -------------------------------------------------------------------------------- 1 | def tower_builder(n_floors): 2 | floor = n_floors + n_floors - 1 3 | return [f"{('*' * x).center(floor)}" for x in range(1, floor + 2, 2)] 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # build-tower-codewars-python 2 | Python 3 | -------------------------------------------------------------------------------- /test.txt: -------------------------------------------------------------------------------- 1 | this is test file 2 | and say hi for you.im testing git 3 | this is stash 4 | --------------------------------------------------------------------------------