Sep-03-2023, 12:18 PM
I got a homework to create a program whose output is like this:
*
**
***
****
I made use of for loop to make this program
My code:
Please help me
*
**
***
****
I made use of for loop to make this program
My code:
n = 1 for x in range(n): print(x*"*") n = n+1But this I'm not getting any output at all.
Please help me