(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 strobogrammaticInRange(low, high):
    """
    :type low: str
    :type high: str
    :rtype: int
    """
    res = []
    count = 0
    for i in range(len(low), len(high) + 1):
        res.extend(helper2(i, i))
    for perm in res:
        if len(perm) == len(low) and int(perm) < int(low):
            continue
        elif len(perm) == len(high) and int(perm) > int(high):
            continue
        else:
            count += 1
    return count
def strobogrammaticInRange ( low , high ) : res = [ ] count = 0 for i in range ( len ( low ) , len ( high ) + 1 ) : res . extend ( helper2 ( i , i ) ) for perm in res : if len ( perm ) == len ( low ) and int ( perm ) < int ( low ) : continue elif len ( perm ) == len ( high ) and int ( perm ) > int ( high ) : continue else : count += 1 return count