Currently taking several ML courses. In reality if you can understand basic math, maybe some calc, and a little linear algebra. The concepts are really all you need to grasp. Learning to code is more to do with your knowledge of the language and the libraries available to you. Depending on what language you choose getting started with ML can be very easy or it could be very time consuming.