pythonguy at Hotpop.com (Anand Pillai) writes: > How about this... > > from types import * > > def natural(num): > if num>0 and type(num) is IntType: > return 1 > else: > return 0 Nope. >>> natural(1L) 0 'as