Why is this wrong??????????????????

I advise learning Python before you attempt to use Panda3D. We could explain to you what exactly is wrong, but if you don’t take the time to gain experience with Python, you will keep running into issues like these.