编辑代码

for ((i=0;i<=500;i++))
do 
  if [[ $i%7 -eq 0 ]] && [ $i != 0 ]
  then
    echo $i
  fi
done