Tag Archives: Python Functions

Python ord() Function Tutorial

Python Ord() Function

This is a detailed tutorial of the Python ord() Function. Learn to find the integers that represent different Unicode characters using this built-in method. Python ord() Function The Python built-in function ord() is used to find out a unique integer number that represents a Unicode character. In other words, in Python, every Unicode character has […]

Python String startswith() Method

Python String Startswith() Method

This is a detailed tutorial of the Python String startswith() method. Learn to check whether a string starts with a specified prefix (substring) or not. Python String startswith() The Python String method startswith() is used to check whether the string on which it is applied starts with a particular prefix or substring or not. It […]

Python String find() Method

Python String Find() Method

This is a detailed tutorial of the Python String find() method. Learn to find the first occurrence of a substring in a Python String using this method. Python String find() This string method find() is used to find the first occurrence of a substring in the string on which it is applied. It returns the […]

Python String strip() Method Tutorial

Python String Strip() Method

This is a detailed tutorial of the Python String strip() method. Learn to remove the leading and trailing characters from a string as per another string. Python String strip() The Python String strip() method simply removes the leading and trailing characters from a string on which it is applied according to another string which has […]

Python String Join Method Tutorial

Python String Join() Method

This is a detailed tutorial of the Python String Join Method. Learn to convert a Python Iterable Object into a String using some separator or delimiter. Python String join() The join() method can be applied to any of the Python String Objects. It simply converts an Iterable object into the string by using the string […]

Python round() Function Tutorial

Python Round() Function

This is a detailed tutorial of the Python round() Function. Round off numerical values to simple integers or upto a specified number of decimal points. Python round() Function The Python built-in function round() is used to round-off floating-point values (Numerical values with decimals) into either simple integers or floating-point values upto a specified number of […]

Python len() Function

Python Len() Function

This is a detailed tutorial of the Python len() Function. Learn to find out the number of items contained in a Python Object using this built-in method. Python len() Function The built-in function len() is used to find out the number of items or elements contained in a Python Object. For some Pythons, rather than […]

Python slice() Function Tutorial

Python Slice() Function

This is a detailed tutorial of the Python slice() function. Learn to create slice objects to further slice different data types such as strings & lists. Python slice() Function The purpose of the built-in function slice() is to create a slice object which further can be used to actually slice out the different data types […]

Python bin() Function

Python Built In Function Bin()

This is a detailed tutorial of Python bin() Function. Learn to convert an integer or another Python Object to its binary equivalent string. Python bin() Function The bin() built-in method is used to convert an integer into its binary equivalent. This method can also convert any other Python Object into its binary equivalent as well […]

Python ascii() Function

Python Ascii() Function

This is a detailed tutorial of Python ascii() Function. Learn to convert any Python Object into a printable string representation by escaping non-ASCII characters. Python ascii() Function The ascii() function that comes built-in with Python is used to convert any Python Object into a printable string representation. If the object to be converted contains any […]