摘要: 自己写的 from typing import List class Solution: def fizzBuzz(self, n: int) -> List[str]: # 初始化结果列表 res = [] # FizzBuzz 对应的字符串列表 myli = ["Fizz", "Buzz", " 阅读全文
posted @ 2024-04-25 19:12 Junior_bond 阅读(10) 评论(0) 推荐(0)