It's good that you pointed that out. Otherwise, regarding the fact that the subject line contains absolutely no useful information at all, thus making it impossible for me to determine whether or not I am interested or capable of answering your question, I would have thought that you simply posted to be ignored.
So, rest assured: I read and replied. Hope that helps.
oh thanks i dunno what that bit does my teach told me to stick it in it checks the space to see if theres a X or an O there if not its ok and the player can put there X or O there i think.
The obvious ommision is the {} pair arround the body of the while loop - this may be a typo, but if not it would explain why you are having problems.
The logic of setting done = True also looks wrong.
I guess you want to loop until the user inputs a valid co-ordinate pair, so have modified teh logic to matxh this.
You have not shown the definition of XOBoard, but it look odd to reference it as 1D and 2D in consecutive lines, so modified to a consistent 2D style.