[ Challenge ] print a wrapper square with numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

[ Challenge ] print a wrapper square with numbers

if input is 4: 4444444 4333334 4322234 4321234 4322234 4333334 4444444

23rd Oct 2017, 6:31 PM
Oma Falk
Oma Falk - avatar
9 Answers
+ 4
heres mine... prints all squares https://code.sololearn.com/cQK33OyT8VL0/?ref=app
25th Oct 2017, 7:09 AM
sayan chandra
sayan chandra - avatar
+ 4
@sayan mega! congrats!
25th Oct 2017, 7:12 AM
Oma Falk
Oma Falk - avatar
+ 2
Oha, Ich weiβ nicht, ob mein Gehirn für so etwas gemacht ist.
23rd Oct 2017, 7:09 PM
David
David - avatar
23rd Oct 2017, 7:31 PM
Oma Falk
Oma Falk - avatar
+ 2
nice..., if you try min instead of max there is another awesome pattern
25th Oct 2017, 8:19 AM
Oma Falk
Oma Falk - avatar
0
ok this the one liner version 2 https://code.sololearn.com/cP0V85Fp07q4/?ref=app
25th Oct 2017, 7:54 AM
sayan chandra
sayan chandra - avatar
- 1
✌✌✌✌
25th Oct 2017, 7:14 AM
sayan chandra
sayan chandra - avatar
- 1
yeah...sure the + pattern...in square
25th Oct 2017, 8:22 AM
sayan chandra
sayan chandra - avatar
- 1
a whole new refreshing challenge## try it https://www.sololearn.com/discuss/817002/?ref=app
26th Oct 2017, 5:08 PM
sayan chandra
sayan chandra - avatar