edsheut

Print Coordinates

Oct 17th, 2020
994
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # funcion para imprimir coordenadas
  2. def mapObjectPosition (x, y):
  3.     print ("[INFO] Center at X = {0} and Y = {1}".format(x,y))
  4.  
  5. # Agregar esto en el bucle, dentro del condicional del contorno
  6. mapObjectPosition(int(x), int(y))
RAW Paste Data