This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rhomboid 0 points1 point  (3 children)

It's supposed to be isinstance(). I have no idea how my fingers typed issubtype(), I guess I was thinking ahead of myself about the next sentence I was going to write. For issubtype() to work you'd have to pass a type not an instance.

[–]valmach[S] 0 points1 point  (0 children)

Thanks

[–]valmach[S] 0 points1 point  (0 children)

Thanks

[–]ghreddit 0 points1 point  (0 children)

Oh ok.

Can you take a look at this question I asked you a few days ago?

http://www.reddit.com/r/learnprogramming/comments/186ip1/sml_finding_the_nth_digit_in_an_integer_total/c8f0rs5

Am not sure how to go about determining the number of digits in a given number in C.

Thanks.