Small error in my code please check out

i think its due to the partition …
how should i fix this?

hi @anonymouslevone_98393e5729c3116b
line no 8 you wrote a[s] instead of a[i]