Since Lydia got 17 out of 20 questions correct, that means she got 3 out of 20 incorrect. To get the ratio of correct (17) to incorrect (3) answers, we can simply divide the two numbers as follows:
or 17:3
Since this ratio is already in simplest terms, this is the final answer.