单项选择题

在Python中,以下哪个语句用于判断一个数是否为偶数?()

A.if num %2==0
B.if num %2!=0
C.if num //2==0
D.if num //2!=0