and(22,41+3) 條件為邏輯表達式,返回True
and(a1,true,35-2) 條件中包含非邏輯值,被忽略,返回True
if(a1<60,"a1不及格","a1及格")
not(2*24) 表達式的值為True時,結果為False
or(1-11,2+24) 表達式中有一個為真,返回True
isodd(1) 1是奇數,返回True
isodd(-2) 不是奇數,返回False
iseven(-2) 偶數,返回True
iseven(1) 不是偶數,返回False
year("2004年12月25日") 取日期的年份,返回2004
year(date(102,3,12)) 取日期的年份,返回2002






