2017.11.29 python学习笔记

多分支语句

If

elif

elif

else

异常处理

try except 语句

try:

<body>

except <ErrorType1>:

<handler1>

except <ErrorType2>

<handler2>

except:

<handler0>

else:

<process_else>

finally:

<process_finally>

如无异常,则执行else语句

finally后语句无论是否发生异常都执行

cmd中下载了pygame

下载了pycharm开发环境

睡午觉去.

猜你喜欢

转载自blog.csdn.net/qq_39380075/article/details/78664159