0
Why pattern program is not working in pycharm.
num=int(input("no_of_row?")) i,j=0,0 for i in range (0,num): print() for j in range (0,i+1): print("*",end="") is any thing wrong with this code?
3 Answers
+ 3
My pleasure
+ 2
Always remember to indent your code correctly. Python is strict when it comes to indentation, because it is what defines blocks of code. Fix the indentation problem and the code will run đ
+ 1
Thanq