
    Write a function that calculates the ratio between clear delivery routes and congested routes in a transportation network, where each route is represented by a value indicating its traffic status (0 for clear routes, non-zero for congested routes). The resulting ratio will help fleet managers assess network conditions and make informed routing decisions.
    

    
from array import array

def zero_count(nums):
    """
    Write a function that calculates the ratio between clear delivery routes and congested routes in a transportation network, where each route is represented by a value indicating its traffic status (0 for clear routes, non-zero for congested routes). The resulting ratio will help fleet managers assess network conditions and make informed routing decisions.
    

    """
from array import array

def zero_count(nums):
    """
    Write a function that calculates the ratio between clear delivery routes and congested routes in a transportation network, where each route is represented by a value indicating its traffic status (0 for clear routes, non-zero for congested routes). The resulting ratio will help fleet managers assess network conditions and make informed routing decisions.
    

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