Welcome! For the future: please share code as text instead of images. Makes it easier to read, copy and run. You can use a triple backtick fence to get monospace font and syntax highlighting.
Welcome! For the future: please share code as text instead of images. Makes it easier to read, copy and run. You can use a triple backtick fence to get monospace font and syntax highlighting.