0
Testing for integer
How can I test for an integer python I want to be able to do somthing like this: IsInt(nums.0)
2 Answers
+ 2
I'm c#, but I'm sure you could do something on the lines of this?
if(num1 == num2)
I'm having trouble understanding exactly what you want. are you just trying to see if an integer equals another integer? you could also use switch cases to see if your int is of certain value
+ 2
i just want to know if the value is an integer,
so i could go
>>> isint(xyb)
false
>>> isint(123)
true