maths.sock_merchant

Attributes

colors

Functions

sock_merchant(→ int)

Module Contents

maths.sock_merchant.sock_merchant(colors: list[int]) int
>>> sock_merchant([10, 20, 20, 10, 10, 30, 50, 10, 20])
3
>>> sock_merchant([1, 1, 3, 3])
2
maths.sock_merchant.colors