+ 1

How can i make this code further small to print the same pattern?

https://code.sololearn.com/cVC4QhUmh3yc/?ref=app

16th Jul 2020, 11:06 PM
Ravi
Ravi - avatar
3 ответов
+ 2
Ravi try considering the pattern line/row vise if don't know java but i made the code in python it may help you . Tell me if you don't understand it https://code.sololearn.com/cljIp7zguFth/?ref=app
16th Jul 2020, 11:22 PM
Vijay Gunwant
Vijay Gunwant - avatar
0
"* ".repeat(n)
17th Jul 2020, 1:52 AM
zemiak