python 同样是一门灵活的动态语言
keep word | descript |
---|---|
and | & |
or | |
not | ! |
del | delete |
import/from | from sys import argv |
while | while true ,loop forever |
global | global variable |
assert | 断言 |
if/elif/else | if ... elif ... else |
pass | to pass this condition check |
break | mean in word |
try/expect/finally | try ... expect ... finally |
just like console.log in javascript | |
class | meaning in word |
continue | to go to next loop |
return | meaning in word |
def | like function key word in javascript |
for | loop key word |
with | ????? |
as | ??????? |
yield | ?????? |
exec | ????? |
in | ????? |
raise | ????? |
is | ????? |
lambda | ?????? |
学了python,学会之后,才能开始真正的学习编程呢...