'and': if the first operand is True, the second operand is returned; otherwise (if the first operand is False), the first operand is returned without evaluating the second operand. 'or': if the first operand is True, the first operand is returned without evaluating the second operand; otherwise (if the first operand is False), the second operand is returned.
how
damn nice, i did a similar thing but overcomplicated it so much :/
pythonic sugar syntactic
damn i need to learn lambas
very clever actually
'and': if the first operand is True, the second operand is returned; otherwise (if the first operand is False), the first operand is returned without evaluating the second operand. 'or': if the first operand is True, the first operand is returned without evaluating the second operand; otherwise (if the first operand is False), the second operand is returned.
Wish I knew this earlier
In case of INT/INT division - fractional part is being truncated.
I don't get how this one work. Can someone explain please?
This comment is hidden because it contains spoiler information about the solution
good job
Very clever to use that log10 to find the number of digits.
Smart!
This comment is hidden because it contains spoiler information about the solution
Awsome!
Loading more items...