Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Build Tower - Codewars Python

This project is a Python implementation of the "Build Tower" coding challenge from Codewars.

🔧 Function

def tower_builder(n_floors):
    floor = n_floors + n_floors - 1
    return [f"{('*' * x).center(floor)}" for x in range(1, floor + 2, 2)]

About

Python

Resources

Stars

41 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages