Mathematics can be learned well without programming, but it is limited to application, and there is no in-depth algorithm research or anything. . .
Programming is mainly logical thinking, and the requirements for mathematical knowledge are not very high, as long as there is logical thinking. Mathematics actually improves this ability to a certain extent, so people who learn mathematics well may have some advantages, but this does not mean that people who learn mathematics badly can't learn programming well. )
I just started to learn programming, so I need to practice and watch more. Starting with the simple code of a small problem, you can try to solve the problem independently with the program. Only in practice can the programming ability be improved. It is difficult to improve if you get caught up in simple mechanical code reading.