题解 | #输出7的倍数#
输出7的倍数
https://www.nowcoder.com/practice/8b85768394304511b0eb887244e51872
for i in {0..500} do if test `expr $i % 7` -eq 0 then echo $i fi done
输出7的倍数
https://www.nowcoder.com/practice/8b85768394304511b0eb887244e51872
for i in {0..500} do if test `expr $i % 7` -eq 0 then echo $i fi done
相关推荐