7 kyu
Make a square box!
778 of 2,108user2514386
Description:
Easy; Make a box
Given a number as a parameter (between 2 and 30), return an array containing strings which form a box.Like this:
n = 5
[
'-----',
'- -',
'- -',
'- -',
'-----'
]
n = 3
[
'---',
'- -',
'---'
]
Strings
Arrays
ASCII Art
Algorithms
Similar Kata:
Stats:
Created | Dec 28, 2016 |
Published | Dec 28, 2016 |
Warriors Trained | 3096 |
Total Skips | 59 |
Total Code Submissions | 5012 |
Total Times Completed | 2108 |
Python Completions | 778 |
JavaScript Completions | 1184 |
PHP Completions | 120 |
Crystal Completions | 12 |
Ruby Completions | 83 |
Total Stars | 31 |
% of votes with a positive feedback rating | 88% of 333 |
Total "Very Satisfied" Votes | 265 |
Total "Somewhat Satisfied" Votes | 58 |
Total "Not Satisfied" Votes | 10 |
Total Rank Assessments | 12 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |