Question: Using Python Try to make it in the least amount of code lines. Thanks you, so far i have... num = 1 while(num 0): print
Using Python Try to make it in the least amount of code lines.
Thanks you,
so far i have...
num = 1 while(num 0): print ("-"*num) num = num - 1
** But I cant make it increase by one in the same loop. That is where my question is.
Write a program that uses loops to generate pyramid-like shapes as shown below, using dashes: program MUST use at least two loops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
