Before seeing the output,don't put the answer,Please check the output. Example the array will have the element [a,b] in first index.But you have split based on the comma(,).If you do like wise the first element will be '[a',.......

Before seeing the output,don't put the answer,Please check the output. Example the array will have the element [a,b] in first index.But you have split based on the comma(,).If you do like wise the first element will be '[a',.......

kev is kind enough to help you, so be polite. you are the beggar here, so you can't choose.

you are the one requesting help, so you are the "beggar". when you ask for help, you say "please". that's basic courtesy. Also, YOU are the one who is supposed to check your output. What kev can give you is only guidance. the rest, is up to you to explore.