note
ferrency
You actually get a "6" followed by a "4".<p>
<code>
print (print (2 * 3) + 3);
</code>
The inner <code>print(2 * 3)</code> is evaluated first: it prints 6, and returns the value "1" because the print succeeded. 1 + 3 is 4, so the outer <code>print</code> prints 4. There were no delimiters between the two digits, so they look like one number instead of two sequential digits.<p>
This brings up the original trick question quite nicely: the parentheses on <code>print (2 * 3) + 3</code> make print() look like a function call, they aren't simply an arithmetic grouping operator in this case.<p>
Alan
255028
255103