摘要: def add(a:int, b:int) -> list[int]: """ 声明参数 a ,b 为int,返回值为 list,元素为int :param a: :param b: :return: """ l=[] l.append(a + b) return l 阅读全文
posted @ 2022-05-30 14:53 huiyii 阅读(32) 评论(0) 推荐(0) 编辑