A list of the Python interpreter's built-in functions is as follows:
001, ABS () to seek absolute value
# !/usr/bin/python if __name__= ="__main__" :print(ABS ( -100)) #打印100
002, all () returns true if all values in the argument list are True,all functions
# !/usr/bin/python if __name__= ="__main__": conditions=[True,false ] Print (All (conditions)) #打印False
003, any () parameter list as long as there is a True,any function will return true
# !/usr/bin/python if __name__= ="__main__": conditions=[True,false ] Print (Any (conditions)) #打印True
004. ASCII () returns a printable string, so if the word character has a carriage return, the line is wrapped, and the characters are printed in its intended form.
# !/usr/bin/python # !coding:utf-8 if __name__= ="__main__": Strings=" " " after adding a carriage return """ Print (ASCII (strings)) #打印 ' \u540e\u9762\u52a0\u4e00\u4e2a\u56de\u8f66\n '
005, Bin () returns the bits arrangement of the given int parameter
# !/usr/bin/python # !coding:utf-8 if __name__= ="__main__": Inter=15 print# Print 0b1111 (binary of **15 is 1111 AH * *)
Python interpreter built-in function