#Python编程从入门到实践#

if语句:

if car == ‘’:

elseif:

else:

=;!=;<>=;and ;or;  in ;not in;

判断列表是否为空;

while循环:

Input(); //自己输入字符并显示;

int();%; //处理数字;

while:

break退出循环;

continue;

避免无限循环;

处理列表和字典:移动元素,删除,填充;