单项选择题

A.isinstance(var,(int,float))
B.type(var)in (int,float)
C.var.isnumeric()
D.A和B都对