News
With a Python function call: by generating lots of coordinates and feeding them to your “draw triangle” function. The latter is far more efficient, requires less code, and is generally the ...
Here's the code for that: for i in range(0,10): for j in range(0, i+1): print("*", end='') print() By reversing the count on the outer loop, you can flip the triangle vertically. Padding the output of ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results