In python, int can be converted to a string using the str() function. This is a built-in function similar to int(). The str() function takes an int type data as its parameter and convert it into string datatype. This conversion …
A collection of one or more characters put in single, double or triple quotes is known as string. e.g.,- ‘Hello’, “Python”, “””Pythonpoint”””, etc. Before we proceed, recall that strings are immutable. Thus, every time you perform something on string that …
A collection of one or more characters put in single, double or triple quotes is known as string in python. Here we’ll see how to sort a string. We use sorted() function to sort the string. e.g., We can use …
Python is an easy-to-learn yet powerful object oriented programming language. It is a very high level programming language. Here we’ll see how to uninstall python from our system. Got to control panel of your system. Then open programs. Then go …
An array is basically a data structure which can hold one value at a time. It is a collection or ordered series of elements of the same type. Many of us gets confused whether list and arrays are the same …
A matrix is a two dimensional data structure which stores data in a form of array. It is also known as 2D array. Now we’ll see how we create matrix in python. In python, we have a number of libraries …
Many people get confused after hearing the word CV2. Opencv releases two types of python interfaces CV and CV2. CV2 is nothing but the latest version of opencv. Opencv is a library of programming functions mainly aimed at real-time computer …
A dictionary is a set of unordered key, value pairs. In a dictionary, the keys must be unique and they are stored in an unordered manner. To build a dictionary separate the key and value pairs by a colon(:). The …
Tkinter is a GUI Library for Python that enables the user to create GUI application. It is a powerful Object-Oriented Language. With this we can make the front end of the app easily. It is used to construct buttons, text …
An array is basically a data structure which can hold more than one value at a time. It is a collection or ordered series of elements of the same type. Arrays can only take a single datatype element. We can …