Well, that's a common question among most people who wants to start their career in cybersecurity.
Without coding experience, you can be good in cybersecurity but not the best. In order to become an expert, you have to follow the path required to become an expert. You can’t ignore things. An expert knows everything.
If you want to learn to code for cybersecurity, start with Python. Python is easy as compared to most of the programming languages around the world. In the cybersecurity domain, python will help you to write your own exploit codes. Also, by using python you can easily build your own tools.
To become an expert in cybersecurity, you should have the knowledge to understand other people’s code. If you have the ability to read and understand the code written by other developers, then only you can exploit their code.
To learn anything for free, believe me, google is your best friend.