Hi mates please help me with the script for the bellow input and with that input I need the output as in the out put images

Exercise-1-Input

Exercise-Output-1

Exercise-Output-2

Exercise-Output-3

The code blocks are in input and lists are the required output. please help me with the script
Thank you

like this

1 Like

Thank you very much for the prompt response. This solves my problem. also can you please do the same in script with out code blocks.
Thank you

sure

2 Likes

Thank you very much it helps me a lot. really appreciate it.

you are welcome :slight_smile:

1 Like