R
Rob Hunter
How do I check if a value is a number in Python?
One way is (x == type(1)) and (x == type(1.2)) and (x ==
type(2387482734274)) and ...
but this seems kludgy. Any better way?
Thanks,
Rob
One way is (x == type(1)) and (x == type(1.2)) and (x ==
type(2387482734274)) and ...
but this seems kludgy. Any better way?
Thanks,
Rob