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()
1 Respuesta
+ 5
Indent your code properly, by then it should work as you expected.
n=int(input()) for i in range(0,n): for j in range(0,n): if(j<=i): print('*',end=' ') else: print(' ',end=' ') print()