De_2 0 Newbie Poster

Can someone explain me how can i check if an answer is right from question in files with python. In my files there are questions with three answers and among them one is the right one and the others are wrong. Users have to click on button to answer. Please help me.