all coordinates are positive integersthere are no negative coordinates increases ( , increases ( , ( , ( , figure - the coordinates of computer screen with resolution your resolution is how many pixels wide and tall your screen is if your screen' resolution is set to then the coordinate for the upperleft corner will be ( )and the coordinate for the bottom-right corner will be ( the pyautogui size(function returns two-integer tuple of the screen' width and height in pixels enter the following into the interactive shellimport pyautogui wh pyautogui size(obtain the screen resolution wh size(width= height= wh[ wh width the pyautogui size(function returns ( on computer with resolutiondepending on your screen' resolutionyour return value may be different the size object returned by size(is named tuple named tuples have numeric indexeslike regular tuplesand attribute nameslike objectsboth wh[ and wh width evaluate to the width of the screen (named tuples are beyond the scope of this book just remember that you can use them the same way you use tuples