Skip to main content

Posts

Data Structure in python

  Data Structure in python  The data structure is one of the different and a special type of formate that is used for storing, processing,  retrieving , and, organizing the data. In other words, we can say that data structure is one of the techniques used to hold the data and use the data in an effective way , it is about rendering the data elements in terms of relationship, for better organizing and storing the data. Data structures are used in different field like  1) Artificial Intelligence 2)Graphics 3)Compiler design 4)Numerical Analysis 5)Simulations 6)Database Management System 7)Statistical Analysis Package 8)Opertating System Types of Data Structure and their uses  In Python it has four data structures, they are  1) List 2) Tuple 3) Dictionary and 4) Set.       Thank You             

Python Programming

                                        Introduction about Python  Python was created by Guido van Rossum and it was first released in 1991, it has considered as the top ten programming language in the TIOBE Programming Community Index , Python is the easiest programming language for beginners, it is a powerful tool in different platforms like HTML, Application Development, Machine learning, etc. Coding in Python is very simple compared to other Object-Oriented languages, it is easy to understand the code and easy to write. Python is an interpreter  (which means it execute the code line by line, there is no need of compiling as a group of code) and it is a freely available opensource library available for all operating systems in    https://www.python.org/ , in this same website you can find different tools, programs, and additional details. It is a high-level and gene...

A Useful information about Python programming language for Beginners

Summary About the Python Blog                             In the below-given link, you can know about the useful information about Python programming language  https://megrathdinold.blogspot.com/p/python-programming.html  , https://megrathdinold.blogspot.com/p/data-structures-in-python.html   Which is mainly important in Machine learning, AI, and Deep Learning. Which describes about Python, Advantages of Python, and uses of python. It also makes you understand the exact difference in Python when compared to other programming languages. It also makes you understand what is the use if we learn the Python Programming language. I have posted the blog in the above link, for the beginners in a short message, which makes you move forward to learn Python programming with confident.                                     ...

Sets - Data type in python

Set                     Set is also one of the Data structure in python, the set is ever simple to understand, it also contains curly bracket ‘{}’ , but the only thing it will not accept duplicate value which is the same values. Let’s understand by code, Input: D = {20, 42, 111, 20, 434, ”uk”} type(D) Output: set Input: D Output: {111, 20, 42, 434, ”uk”}‘ Input: D[3] Output: --------------------------------------------------------------------------- TypeError                                 Traceback (most recent call last) <ipython-input-48-846febc3581b> in <module> ----> 1 D [ 3 ] TypeError : 'set' object is not subscriptable                            ...