pyramidBuilder(6) --> ['#','##','###','####','#####','######'] or ['#',
'##',
'###',
'####',
'#####',
'######']
don't really help (it's a waste of space I'd say, just make it one line), might as well put the negative test case in the example block. Some warriors won't even scroll past the example block. (i.e Me)
Edit: Also, would this be considered as duplicate of this?
You should probably mention the language you're talking about. If it was Rust, then it was fixed.
FYI, there is a solution visible in the test section. Probably should remove that!
it
blockGiving out these
pyramidBuilder(6) --> ['#','##','###','####','#####','######'] or ['#',
'##',
'###',
'####',
'#####',
'######']
don't really help (it's a waste of space I'd say, just make it one line), might as well put the negative test case in the example block. Some warriors won't even scroll past the example block. (i.e Me)
Edit: Also, would this be considered as duplicate of this?