Python学习小结---if语句if语句<pre<code顾名思义,该语句为判断语句,先来一个简单的示例pythoncars&39;audi&39;,&39;bmw&39;,&39;subaru&39;,toyotaforcarincars:ifcar&3