Python built-in functions & reserved words

Built-in functions:

abs() dict() help() min () setattr()
all() to you() hex() next() slice()
any() divmod () id() object() sorted()
ascii() enumerate() input() oct() staticmethod()
bin() eval() int() open() str()
bool() exec() isinstance() words() sum()
bytearray() filter() issubclass() pow() super()
bytes() float() iter () print() tuple()
callable() format() len () property() type()
chr() frozenset() list() range() whose()
classmethod() getattr() locals() repr() zip()
compile() globals() map() reversed() import()
complex() hasattr () max() round()
delattr() hash() memoryview() set()

Reserved words:

and as assert break class continue
def of elif else except finally
for from False global if import
in is lambda nonlocal not None
or pass raise return try True
while with yield

It should be noted that python is strictly case-sensitive, and the reserved words are the same. Pay attention to the case of reserved words.

Guess you like

Origin blog.csdn.net/qq_43254543/article/details/104278968