()
return (user32.GetSystemMetrics(0), user32.GetSystemMetrics(1))
Get the resolution of the main monitor.
    Returns:
        (x, y) resolution as a tuple.
Get the resolution of the main monitor.
    Returns:
        (x, y) resolution as a tuple.
Get the resolution of the main monitor . Returns : ( x y ) resolution as a tuple .
def get_resolution():
    """Get the resolution of the main monitor.
    Returns:
        (x, y) resolution as a tuple.
    """
    user32 = ctypes.windll.user32
    return (user32.GetSystemMetrics(0), user32.GetSystemMetrics(1))
def get_resolution ( ) : user32 = ctypes . windll . user32 return ( user32 . GetSystemMetrics ( 0 ) , user32 . GetSystemMetrics ( 1 ) )