def Points(m,p): for x in range(-10,10): for y in range(-10,10): if y==m*x+p: print("(",x,";",y,")") return