摘要: - tuple类型判断 type() a = (1) 为int类型 b = () 为tuple类型 c = ([1,2,3],4) tuple类型不可改变,但是通过 c[0][0] = 111 方式可以改变 - input()获取的为string,可能需要int()转换对比 - dist字典对象,k 阅读全文
posted @ 2019-07-25 11:47 1146937621 阅读(199) 评论(0) 推荐(0) 编辑