import pyautogui for i in range(13): pyautogui.moveTo(1198,703, duration=0.1) pyautogui.dragTo(1906,182, duration=0.4)