首頁/ 文章/ Python3关键字(35个)

Python3关键字(35个)

2025-02-04 14:09  瀏覽數:146  來源:荒域的荒    

# import keyword
# print(keyword.kwlist)
False False False
None None None
True True True
and and and
as as as
assert assert assert
async async async
await await await
break break break
class class class
continue continue continue
def def def
del del del
elif elif elif
else else else
except except except
finally finally finally
for for for
from from from
global global global
if if if
import import import
in in in
is is is
lambda lambda lambda
nonlocal nonlocal nonlocal
not not not
or or or
pass pass pass
raise raise raise
return return return
try try try
while while while
with with with
yield yield yield



聲明:以上文章均為用戶自行添加,僅供打字交流使用,不代表本站觀點,本站不承擔任何法律責任,特此聲明!如果有侵犯到您的權利,請及時聯系我們刪除。

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)