zeycus wrote:You should be more precise with your question. What is what you find wrong here? Do you know the right answer?
Anyway, at first sight one thing is clearly wrong: you ask the user to enter an angle in degrees. But you use it, without any transformation, as parameter for math.sin and math.cos. But those require angles in radians. You should convert degrees to radians.
Ok thanks for your help. I have kind of taught myself the math functions as my teacher just posted tasks online but did not explain it in class.