[BangPypers] date range

Srinivas Reddy Thatiparthy srinivas_thatiparthy at akebonosoft.com
Wed Feb 10 05:07:42 CET 2010

It's called TWICE  , no matter with or without side effects.
I asked this on SO,somebody came up with this answer!

>>> def check():
	print 'Called Once'
	return 2

>>> 1<check()<3
Called Once
>>> 1<check() and check()<3
Called Once
Called Once

Happy Hacking.

~ Srini T

More information about the BangPypers mailing list