Skip to main content
Some unique Functions in python
Some unique Functions in python
- Ord() = This function is used to find ASCII value of any number and character
- chr() = This is used to find out character by its acsii value
- sum() = Returns sum of any numbers as argumnet
- min = return minimum number from any type of data set
- max = return maximum number from any type of data set
- pow(a,b) = return b raise to power of a
- id() = print location of any variable that is store in memory
- round(a,b) = return a rounded to b position
- eval(str) = This function is used to appy some mathematics on the strings like '2+3' is a string but if we apply eval('2+3') then it returns 5
Comments
Post a Comment