python functions
| *function* | **Key** | Mode |
————————————— | ———————————– | ——————————————————————————————————————-
|
absolute value | abs() | to convert a list of negatives values
into postive one |
enumerate(index) | for i ,j in enumerate ([list]) | applaied
an counmt to a listin a form of tuple or with dict u get dictionary /if
u pass j u break the tuple |
globa list | global() | get u info about what variebles and so
on u can acess within global scope |
local list | local() | get u an info about the locala vartiables
avaiable to u |
weather all arguments are true | all() | if the list is empty it
returns true it does not work on just ints |
if anyirratable is true | any() | if the list is empty it
returns false |
checlk the type of multple datat | isinstance() | check eather
the type of data is same as inputed |
check weathert the thing is calllable | calllable() | Functions
Classes Methods and Instances are callable |
filter values * | filter(function , iterable) | if the first
argument eaual: to none it will get rid of zeros alot of the times used
with lambda function* |
[!quote] Functions