6 kyu
Build Tower
42,652 of 106,5998fdafs2
Description:
Build Tower
Build a pyramid-shaped tower, as an array/list of strings, given a positive integer number of floors
. A tower block is represented with "*"
character.
For example, a tower with 3
floors looks like this:
[
" * ",
" *** ",
"*****"
]
And a tower with 6
floors looks like this:
[
" * ",
" *** ",
" ***** ",
" ******* ",
" ********* ",
"***********"
]
Go challenge Build Tower Advanced once you have finished this :)
Strings
ASCII Art
Fundamentals
Similar Kata:
Stats:
Created | Jun 20, 2016 |
Published | Jun 20, 2016 |
Warriors Trained | 206031 |
Total Skips | 34469 |
Total Code Submissions | 334415 |
Total Times Completed | 106599 |
Python Completions | 42652 |
JavaScript Completions | 35397 |
C# Completions | 6973 |
PHP Completions | 3918 |
C++ Completions | 6773 |
Haskell Completions | 1047 |
Ruby Completions | 2033 |
Lua Completions | 253 |
CoffeeScript Completions | 17 |
Julia Completions | 62 |
Crystal Completions | 15 |
TypeScript Completions | 2123 |
Java Completions | 3951 |
C Completions | 774 |
Rust Completions | 806 |
Go Completions | 929 |
D Completions | 8 |
Factor Completions | 11 |
Swift Completions | 211 |
Total Stars | 3047 |
% of votes with a positive feedback rating | 91% of 8868 |
Total "Very Satisfied" Votes | 7479 |
Total "Somewhat Satisfied" Votes | 1251 |
Total "Not Satisfied" Votes | 138 |
Total Rank Assessments | 14 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |