here are the image of the code which i was working on . [1]: https://i.stack.imgur.com/Fr2NK.png [2]: https://i.stack.imgur.com/bbAYQ.png