
    Write a function to calculate the ratio of inactive to active professionals in your local professional network, where each professional's status is represented by a value in an array with 0 indicating inactivity and any non-zero value indicating an active status. This ratio helps determine the overall engagement level of professionals within your 50-mile networking radius.
    

    
from array import array

def zero_count(nums):
    """
    Write a function to calculate the ratio of inactive to active professionals in your local professional network, where each professional's status is represented by a value in an array with 0 indicating inactivity and any non-zero value indicating an active status. This ratio helps determine the overall engagement level of professionals within your 50-mile networking radius.
    

    """
from array import array

def zero_count(nums):
    """
    Write a function to calculate the ratio of inactive to active professionals in your local professional network, where each professional's status is represented by a value in an array with 0 indicating inactivity and any non-zero value indicating an active status. This ratio helps determine the overall engagement level of professionals within your 50-mile networking radius.
    

    """
    n = len(nums)
    n1 = 0
    for x in nums:
        if x == 0:
            n1 += 1
        else:
            None
    return n1 / (n - n1)