(low, high)
return count
:type low: str
    :type high: str
    :rtype: int
:type low: str
    :type high: str
    :rtype: int
: type low : str : type high : str : rtype : int
def strobogrammatic_in_range(low, high):
    """
    :type low: str
    :type high: str
    :rtype: int
    """
    res = []
    count = 0
    low_len = len(low)
    high_len = len(high)
    for i in range(low_len, high_len + 1):
        res.extend(helper2(i, i))
    for perm in res:
        if len(perm) == low_len and int(perm) < int(low):
            continue
        elif len(perm) == high_len and int(perm) > int(high):
            continue
        else:
            count += 1
    return count
def strobogrammatic_in_range ( low , high ) : res = [ ] count = 0 low_len = len ( low ) high_len = len ( high ) for i in range ( low_len , high_len + 1 ) : res . extend ( helper2 ( i , i ) ) for perm in res : if len ( perm ) == low_len and int ( perm ) < int ( low ) : continue elif len ( perm ) == high_len and int ( perm ) > int ( high ) : continue else : count += 1 return count