how to get continuous mouse position with pyautogui in python

Solutions on MaxInterview for how to get continuous mouse position with pyautogui in python by the best coders in the world