How to check data type of variable .. PYTHON : check the type of input. Check the input data is float or int.. 

    inData = input("Enter Data")
        //type of inData will be String

    if inData.isdigit():
    print("Integer")

    //this will check if the inData is integer
    //This won't check for float type
    //But I want to check if inData is float or not