python--学习第二天

来源:互联网 发布:四维星软件多少钱 编辑:程序博客网 时间:2024/05/16 07:23

type(参数)  返回参数类型


isinstance(参数,类型)   判断参数是否是什么类型,返回值bool


原创粉丝点击