Can u help me with this code?

Please first read the pinned thread and make sure to fix the code formatting so that we can see it exactly as you actually have it.