codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JavaScript's void operator in Python?


On 3/02/20 3:38 am, Stefan Ram wrote:

> void( ( print( 2 ), print( 3 )))

If the functions you're calling all return None, you can
do this:

 >>> print(2); print(3)
2
3

-- 
Greg