列表生成式(生成列表) res=[i for i in range(10) if i > 5] print(res) #[6, 7, 8, 9]res=[i for i in range(10) if 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交