This might be a silly question but I read somewhere that floats in Python are equal to doubles in C++. So if I want to check whether a variable is a double or not, should I use the following:
isinstance(v, float)
or this one:
isinstance(v, double)