一、if的用法
if [condition ]
then
command
else
command
fi
=======================================
if [condition ]
then
command
elif [condition]
then
command
fi
===========================
二、while的用法
while [condition]
do
command
done
阅读(923) | 评论(0) | 转发(0) |