You are no where near the point you have to care about error-messages to finish the project.
This is a project that can take even expirienced programmers at least a day to copmlete with writing code, bugfixing and whatnot. Longer if they have to plan out logic and might have to look up methods.
This is not like the previous lessons, where you slap on 1-10 lines of basic code and be done. It will be more like 50-100, depending on aproach.
So far you’ve written 4 lines, which frankly don’t make any sense whatsoever.
You don’t seem to understand how functions work, how to use arguments or even just what data-types you are working with… Not to mention your function doesn’t even have a return despite literally having copied the fact it should return things.
Anyway, giving you a solution would be utterly pointless. You seem to be lacking a lot of basic knowledge for programming. So I don’t see you understanding the solution, even if it was given to you. At which point it would just be doing the task for you - a task meant to test your knowledge. These tasks are meant to teach you programming, so you can get a job with your knowledge. Giving you the solution would be like gifting you a drivers-licence without you ever passing any driving-tests… yeah no?