So I don't program daily and Visual Studio Code is still pretty new to me. I came across this issue when I was trying to code for lambda function but VS Code kept giving me this error and I couldn't figure out how to resolve it. I found something on a forum that seemed to work, but I had to read a lot to find it.
So here is a snippet of my code: