Predict the output
a = 3
b = "sooks"
for i in range(a-1):
    print(i*b)
for j in range(a-1,0,-1):
    print(j*b)

Posted on by