New course! Every coder should learn Generative AI!
Try a free lesson0
What is going wrong here.
2 Answers
+ 2
Line 25:
Replace
if(board != 250)
+ <board> is an element, you were supposed to check <pos> in that line.
With
if(pos != 250)
+ 1
what are you trying to achieve here