Merge_k_sorted_arrays -python

Hi,could you please check and let me know that what is wrong with the code

hello @mridulpant

check this case->
3 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

in line 15 it should be y+1<n

thanks, i have corrected it and still getting error while submitting the solution,

once try submitting it over leetcode