万事开头难

摘要: 一 判断类型 isinstance 语法一 isinstance(要判断的数据,要判断的类型) 如果该数据是这个类型,返回True,反之返回False res = isinstance(111,int) res = isinstance([],tuple) 语法二 isinstance(要判断的数据 阅读全文
posted @ 2020-11-23 17:21 Bo7-w 阅读(76) 评论(0) 推荐(0) 编辑