Predict the output

z=[]
b="sooks"
for i in b:
if i.isalpha()==True:
z.append(i)
if i.isalpha()==False:
continue
y="".join(str(x) for x in z)
w=y[::-1]
print(w)


Posted on by