Function To Find Data Type In Python