#!/usr/local/bin/python2 def f(a): print 1 return a def f2(a): print 2 return a def f3(a): print 3 return a print f(1) or f2(1) and f3(1)