Write the output of the following Program.
s=4m=2for i in range(1,6): for j in range(1,s): print(end=" ") for k in range(1,m): print(k,end=" ") print(end="\n") s=s-1 m=m+2
No comments:
Post a Comment