How to make and if-else statement that classifies the data type of the input you have typed

后端 未结 0 1869
面向向阳花
面向向阳花 2021-02-10 17:39

How can I make an if-else statement that classifies if the data that I have inputted is str, int, or float?

data = input(\'Enter a data: \')

What

相关标签:
回答
  • 消灭零回复
提交回复
热议问题