[Tutor] this group and one liners

Dennis Lee Bieber wlfraed at ix.netcom.com
Fri Jul 8 10:03:14 EDT 2022


On Thu, 7 Jul 2022 19:36:45 -0400, <avi.e.gross at gmail.com> declaimed the
following:

>
>max(1,2 or 2,3)
>
>returning 3 oddly enough and so does this:
>

	Well, that evaluates, if I recall the operator precedence, as

1, (2 or 2), 3 => 1, 2, 3


>max([] or 0,0)
>
>returning a 0.
>

([] or 0), 0 => 0, 0


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed at ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/



More information about the Tutor mailing list