On 30/06/2013 19:53, Andrew Berg wrote:
On 2013.06.30 13:46, Andrew Z wrote:
Hello,
print max(-10, 10)
10
print max('-10', 10)
-10
My guess max converts string to number bye decoding each of the characters to
it's ASCII equivalent?
Where can i read more on exactly how the situations like the
On Sun, Jun 30, 2013 at 12:46 PM, Andrew Z wrote:
> Hello,
>
> print max(-10, 10)
> 10
> print max('-10', 10)
> -10
>
> My guess max converts string to number bye decoding each of the characters
> to it's ASCII equivalent?
No, it leaves the types as they are but simply considers strings to be
"gr
On 30-6-2013 20:46, Andrew Z wrote:
> Hello,
>
> print max(-10, 10)
> 10
> print max('-10', 10)
> -10
>
> My guess max converts string to number bye decoding each of the characters to
> it's ASCII
> equivalent?
>
> Where can i read more on exactly how the situations like these are dealt with?
>
On 2013.06.30 13:46, Andrew Z wrote:
> Hello,
>
> print max(-10, 10)
> 10
> print max('-10', 10)
> -10
>
> My guess max converts string to number bye decoding each of the characters to
> it's ASCII equivalent?
>
> Where can i read more on exactly how the situations like these are dealt with?
Th