No, its not mediatory. i also weak in math 😅. you can start your carrier in web development, android development, etc.
If you need any help in programming or have any doubt you can ask me I'm happy to help. you can connect me 👇 and msg me i will help you. 😊