





from __future__ import annotations

from collections import namedtuple



def 				lowerCAmelCase_ (							A_    ,A_    ,A_):
    UpperCamelCase__:	List[str]					=     namedtuple("result"    ,"name value")
    if (voltage, current, power).count(0) != 1:
        raise ValueError("Only one argument must be 0")
    elif power < 0:
        raise ValueError(
            "Power cannot be negative in any electrical/electronics system")
    elif voltage == 0:
        return result("voltage"    ,power / current)
    elif current == 0:
        return result("current"    ,power / voltage)
    elif power == 0:
        return result("power"    ,float(round(abs(voltage * current)    ,2)))
    else:
        raise ValueError("Exactly one argument must be 0")


if __name__ == "__main__":
   import doctest

   doctest.testmod()








from __future__ import annotations

A__:    List[Any]  	=	10



def 				lowerCAmelCase_ (							A_):
    UpperCamelCase__:	Tuple					=     1
    UpperCamelCase__:	str					=     max(A_)
    while placement <= max_digit:
        # declare and initialize empty buckets
        UpperCamelCase__:	list[list]					=     [[] for _ in range(A_)]
        # split list_of_ints between the buckets
        for i in list_of_ints:
            UpperCamelCase__:	Union[str, Any]					=     int((i / placement) % RADIX)
            buckets[tmp].append(A_)
        # put each buckets' contents into list_of_ints
        UpperCamelCase__:	Union[str, Any]					=     0
        for b in range(A_):
            for i in buckets[b]:
                UpperCamelCase__:	Any					=     i
                a += 1
        # move to next
        placement *= RADIX
    return list_of_ints


if __name__ == "__main__":
   import doctest

   doctest.testmod()

