seuleyang
python 1~300 不要偶数,不要7的倍数
阅读 77
2022-12-19
i = 1j = 0while i <= 300: if i %2 != 0 and i %7 != 0: j += i i += 1print(j)
相关推荐
精彩评论(0)