I am having problem with running Slices

I am not able to troubleshoot this error?

any help is welcome and needed

Hi @zaidzac95,

booking is a local variable, and the function does not return it. Hence it is discarded, and all the appended values would be lost.