Question: create a python code to classify the data types int, float, integer using nested if else, if else and operator, i already know isdigit and

create a python code to classify the data types int, float, integer using nested if else, if else and operator, i already know isdigit and isalpha. but i want to know other way like type function.

Example Output:

enter a Name: Hanz

Enter a data:999

Hello, Hanz your inputted data 999 is a type of integer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!