To randomly generate a number between 1 and 250 you type Math.random()*249+1