➀ all ()
🔹This function returns True, if all element of the iterable are True or itcrable is empty.
EX:-
a = array([100,200,300,400,500])
b = array([100,200,300,400,500])
c=a==b
all(c)
➁ any ()
🔹 This function returns True, if any one element of the iterable is True. if iterable is empty then returns False.
EX:-
a = array([100, 200, 300, 400, 500])
b = array([100,20,30,400,50])
c=a == b
➂ ascii ()
🔹The Ascii method in python returns a string containing a printable representation of an object for non-alphabets or invisible characters such as tab, carriage return, form feed etc. it escapes the non-ASCII characters in the string using \x, \u or \U escapes.
➃ Bin ()
🔹 Convert an integer number to a binary string prefixed with "0d". The result i a valid python ex-pression. if x is not a python int object, it has to define an __index__() method that returns an integer.
➄Bool ()
🔹 The bool method converts a value to boolean (true or False) using the standard truth testing procedure.
EX:- How bool() works ?
test = []
orint(test, 'is',bool(test))
➅ Breakpoint()
🔹this function drops you into the debugger at the call site. specifically, it calls sys.breakpointhook (), passing args and kws straight through. ny default, sys.breakpointhook () calls pdb.set_trace() expecting no arguments. in this case, it is purely a
convenience func tion so you don't have to explicitly import pdb or type as much code to enter the debugger. however, sys.breakpoitthook () can be set to some other function and breakpoint() will automatically call that, allowing you to drop into the debugger of choice
➆ bytearray , ➇ bytes ()
🔹Bytes & bytearray are a sequential data type in python 3 and stores binary sequence of values ranging from 0 to 256 (8-bits)
⇥ bytes is a immutable
⇥ bytearray is a mutable
➈ callable ()
🔹Return True if the object argument appears callable False if not. if this returns true, it is still possible that a call fails, but if it is false, calling object will never succeed. note that classes are callable (calling a class returns a new instance)
instances are callable if their class has a__call__() method.
➉ chr()
🔹Return the string representing a character whose Unicode code point is the integer i. for example, chr(97) returns the string 'a' while chr (8364) returns the string 'c'. This is the inverse of ord (). The valid range for the argument is from 0 through 1,114,111
(0x10FFFF in base 16). valueError will be raised if is outside that range.
➀ ➀ classmethod ()
🔹class method are the method which act upon the class variables or static of the clas. Decorator @ classmethod need to write above the class method By default, the parameter of class method is cls which to the class itseif.
➀➁ compile ()
🔹The python compile() method retums an exectable code object as an "Abstract Syntex Tree" that is represemed as all ast object, you can pass this code object into the exex() or eval() function and run it dynamically in your python code.
this way, you can programmatically create source code and execute it at runtime. to use the function you must pass the string code to be executed, the filename, and the execution mode.
➀➂ complex ()
🔹Complex numbers are especially used in electronics, optics, and quantum theory form describing waves and periodic phenomena.
🔹Fourier transform uses complex numbers.
⇥Audio signal processing in machine learning
⇥ Speech recognition system
➀➃ delattr()
🔹the delattr () method id used to delete the named attribute from the object, with the prior permission of the object Syntax: delattr(object, name) the function takes only tow parameter: object : from which the name attribute is to be removed.
➀➄ dict()
🔹the dict object is the dic-tionary class. see dict and mapping types -- dict for documentation about this class. for other containers see the list, set and tuple classes, as well as the collections module.
➀➅ dir ()
🔹This is an built in functions used to return a attribute of the contains defined by the user.
➀➆ divmode()
🔹he divmod() method in python takes two numbers and returns a pair of numbers consisting of their quotient and remainder.
➀➇ enumerate ()
🔹this is the function used to fine the position of the targeted string""'
➀➈ hash()
🔹hash() function is a built-in function and returns the hash value of an object if it has one. The hash value is an integer which is used to quickly compare dictionary keys while looking at a dictionary.
➁0⃣ abs()
🔹Return the absolute value of a number. the argument may be an integer or a floating point num-ber. if the argument is a complex number, its magnitude is returned. #pyhton
➇
• • •
Missing some Tweet in this thread? You can try to
force a refresh
🔹ALT + F4 ⇥ Close the current window.
🔹ALT + Space Then N ⇥ Minimize the current window.
🔹Alt + Space Then X ⇥ Minimize the current window.
🔹Alt + F Then X = Quit Google Chrome
🔹Alt + F = Open the chrome menu
🔹Alt + Shift + B = Show or Hide the Bookmarks bar
🔹Ctrl + Shift + O = Open the bookmarks manager
🔹Ctrl + H = Open the History page in a new tab
🔹Ctrl + F6 = Skip to web contents
🔹Ctrl + n = Open a new Window
🔹Ctrl + Shift + N = Open a New Window in Incognito Mode
🔹Ctrl + T = Open a new Tab