0

Can anyone help me with error

n=int(input()) for i in range(0,n): for j in range(0,n): if(j<=i): print('*',end=' ') else: print(' ',end=' ') print()

12th Oct 2019, 5:43 AM
Sridhar Tavva
Sridhar Tavva - avatar
1 Respuesta
+ 5
Indent your code properly, by then it should work as you expected.
12th Oct 2019, 6:17 AM
Ipang