+ 1
can you write smaller and simpler code for drawing triangles
I wrote this code, but it is complicated and difficult for me to understand, it does not matter, you did not understand the code, only based on the output, can anyone suggest a better idea for this output? https://code.sololearn.com/cUWr5VnvJc8b/?ref=app
3 Réponses
+ 4
not necessarly easiest to understand, but shorter (with fixed base triangle size):
https://code.sololearn.com/c32ZubnjdYBd/?ref=app
inially, I was implementing this one (were base triangle size equals to pattern size -- input):
https://code.sololearn.com/cX6Immzm67iL/?ref=app
0
Let me try
0
thanks , its so good 🌷visph