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. and try except.

the code shoud only contain the use if else, nested if else, doesnt use str((input) or int(input)) and the use of operator.

Example Output:

enter a Name: sen

Enter a data:78

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!