How can I Define a function that offers a data and returns True if the data type is string, etc.?

后端 未结 0 1080
清歌不尽
清歌不尽 2020-11-28 01:13

in this function I need to receive only one parameter in order to determine if the data type is any.

    print(type(dato) is tipo)  # True

tipo_de_dato("         


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