<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Lizaatis1</title>
    <description>The latest articles on Forem by Lizaatis1 (@lizaatis1).</description>
    <link>https://forem.com/lizaatis1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F815129%2Ff41e7371-81d0-4390-9422-02c2d2185868.png</url>
      <title>Forem: Lizaatis1</title>
      <link>https://forem.com/lizaatis1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lizaatis1"/>
    <language>en</language>
    <item>
      <title>Python for everyone: Mastering Python The Right Way</title>
      <dc:creator>Lizaatis1</dc:creator>
      <pubDate>Mon, 28 Feb 2022 17:33:06 +0000</pubDate>
      <link>https://forem.com/lizaatis1/python-for-everyone-mastering-python-the-right-way-3omc</link>
      <guid>https://forem.com/lizaatis1/python-for-everyone-mastering-python-the-right-way-3omc</guid>
      <description>&lt;p&gt;Python is an interpreted language. It's one language that  is taking over the field of programming with a storm. It can be applied in various areas; from AI, web development, software engineering , Machine learning and data science&lt;/p&gt;

&lt;p&gt;Despite having very many areas of application and having simple syntax and few lines of code, python is one language that is challenging to learn especially if you lack proper guidance&lt;/p&gt;

&lt;p&gt;I can support this from my own experience, I have been learning python for over 5 years and this is the year i have been able to understand the syntax and put things together&lt;/p&gt;

&lt;p&gt;I remember the number of times I downloaded each topic from W3 schools, saving them online and reading each topic one by one and the only level I  managed to reach was python classes which confused me even more&lt;/p&gt;

&lt;p&gt;I tried tutorials point, YouTube videos, bought Udemy courses and still ended up learning to the classes section which i never understood, i  gave up several times. I remember downloading python for Everybody course and waking up early in the morning to try out the practical questions as theory proved not to be working for me. Still it never worked. &lt;br&gt;
Mine was contributed with laziness, procrastination and lack of understanding of whatever i was learning, after all the coding and reading i still could not put the concepts together to understand how the applications built by the language were all put together, By the end of 2021 i gave up on python and &lt;br&gt;
started learning C+, this became even more confusing because I had to start learning new syntax and everything in C was just too unfamiliar&lt;br&gt;
I bought books on C but was unable to read , it all sounded like Greek.&lt;/p&gt;

&lt;p&gt;By 2022 I had given up on my dream of becoming a software engineer and started learning mobile App development, I learnt simple platforms such as Kdular and later started learning flutter. They were fun too but i never felt satisfied. in around Januar, i came a cross training advert offered by Lux Academy and decided to apply&lt;br&gt;
it wa an interesting programme because it had python and javascript the two languages have always wanted to learn and has struggled for years to understand, just imagining the data bundles i bought to download videos, books and tutorial notes offline just to learn same things over and over and still was unable to put everything together.&lt;/p&gt;

&lt;p&gt;This is my fourth week at Lux Academy, its online and we have only 2 classes per week,okey only one class because i decided to concentrate on &lt;br&gt;
python alone and i can proudly say i am learning well and i have gained much knowledge and im able to work on small projects without copy  pasting codes, Its exciting and i feel like finally my dream is becoming true&lt;br&gt;
. &lt;br&gt;
&lt;strong&gt;What makes me improve&lt;/strong&gt;&lt;br&gt;
First thing i did was to take up my online training serious&lt;br&gt;
in the past i was not so serious and was very lazy and never read deeply like now.&lt;br&gt;
Secondly i decided to b committed to learn python and Javascript, i attend the classes and concentrate fully during class and take in each instrustions.&lt;/p&gt;

&lt;p&gt;From these reasons above i have been able to come up with perfect ideas that can help those interested in python to learn well, these can be applied in any language not only python.&lt;/p&gt;

&lt;p&gt;So what are the best ways to learn python?&lt;br&gt;
get enrolled to an online class, this is not for everyone but mostly for those that are struggling with self studies.&lt;br&gt;
enroll in online class that is actuve and you are able to interact with instructors, ask questions and get guidance, or join a physical class and most of all lookout for free training programs and take them very seriously&lt;/p&gt;

&lt;p&gt;Read about python topics, you can use resources such as W3schools.com, Tutorials-point and YouTube Videos from Edureka, they have awesome instructors&lt;/p&gt;

&lt;p&gt;Do a lot of research on each topic to understand the concept&lt;br&gt;
Try short projects and assignments on each topic/ concept ; this helps in understanding each building block&lt;br&gt;
Learn the Basic Syntax, this is the most important for beginners&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introduction To Data Structures and Algorithms with JavaScript </title>
      <dc:creator>Lizaatis1</dc:creator>
      <pubDate>Mon, 21 Feb 2022 19:17:08 +0000</pubDate>
      <link>https://forem.com/lizaatis1/introduction-to-data-structures-and-algorithms-with-javascript-5d26</link>
      <guid>https://forem.com/lizaatis1/introduction-to-data-structures-and-algorithms-with-javascript-5d26</guid>
      <description>&lt;p&gt;&lt;strong&gt;Data Structures&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Python Data Structures&lt;/strong&gt; – &lt;br&gt;
&lt;strong&gt;Tuples&lt;/strong&gt;&lt;br&gt;
A tuple is a built-in data structure in Python that is an ordered collection of objects. The primary differing characteristic between lists and tuples is mutability. Lists are mutable, whereas tuples are immutable. Tuples cannot be modified, added, or deleted once they’ve been created. Lists are defined by using parentheses to enclose the elements, which are separated by commas.&lt;br&gt;
The use of parentheses in creating tuples is optional, but they are recommended to distinguish between the start and end of the tuple. A sample tuple is written as follows:&lt;br&gt;
tuple_A = (item 1, item 2, item 3,…, item n)&lt;br&gt;
Tuples are preferred when the user does not want the data to be modified. Use less memory&lt;br&gt;
&lt;strong&gt;Sets&lt;/strong&gt;&lt;br&gt;
A set is defined as a unique collection of unique elements that do not follow a specific order&lt;br&gt;
they can be modified, added, replaced, or removed. A sample set can be represented as follows:&lt;br&gt;
set_a = {“item 1”, “item 2”, “item 3”,….., “item n”}&lt;/p&gt;

&lt;p&gt;List&lt;br&gt;
A list is defined as an ordered collection of items, and it is one of the essential data structures when using Python to create a project&lt;br&gt;
re just like the arrays, declared in other languages which is an ordered collection of data. It is very flexible as the items in a list do not need to be of the same type.&lt;br&gt;
The costly operation is inserting or deleting the element from the beginning of the List as all the elements are needed to be shifted. Insertion and deletion at the end of the list can also become costly in the case where the pre-allocated memory becomes full.&lt;br&gt;
List = [1, 2,  3, "GFG", 2.3]&lt;br&gt;
print(List)&lt;br&gt;
In python starting index of the list, sequence is 0 and the ending index is (if N elements are there) N-1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python Dictionary&lt;/strong&gt;&lt;br&gt;
in Python is an unordered collection of data values, used to store data values like a map, which, unlike other Data Types that hold only a single value as an element, Dictionary holds key:value pair&lt;br&gt;
In Python, a Dictionary can be created by placing a sequence of elements within curly {} braces, separated by ‘comma’. Dictionary holds pairs of values, one being the Key and the other corresponding pair element being its Key:value.&lt;br&gt;
Dict = {1: 'Geeks', 2: 'For', 3: 'Geeks'}&lt;/p&gt;

&lt;p&gt;Python are immutable objects that only support methods and operators that produce a result without affecting the frozen set or sets to which they are applied. While elements of a set can be modified at any time, elements of the frozen set remain the same after creation.&lt;br&gt;
If no parameters are passed, it returns an empty frozenset&lt;br&gt;
frozenset({'g', 'e', 'f'})&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;String&lt;/strong&gt;&lt;br&gt;
Python Strings are arrays of bytes representing Unicode characters. In simpler terms, a string is an immutable array of characters&lt;br&gt;
Bytearray&lt;br&gt;
Python Bytearray gives a mutable sequence of integers in the range 0 &amp;lt;= x &amp;lt; 256.&lt;br&gt;
Example: Python Bytearray Operations&lt;/p&gt;

&lt;h1&gt;
  
  
  Creating bytearray
&lt;/h1&gt;

&lt;p&gt;a = bytearray((12, 8, 25, 2))&lt;/p&gt;

&lt;p&gt;Advanced Data structures are one of the essential branches of data science which is used for storage, organization and management of data and information for efficient, easy accessibility and modification of data&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Primitive types&lt;/strong&gt;&lt;br&gt;
Primitive types are either a basic building block or are a built-in type support function&lt;br&gt;
Boolean data type– A Boolean data type is a computer-science related algorithm where there are only two possible values of the function- true and false&lt;br&gt;
Composite or non-primitive type&lt;br&gt;
Array- It is a collection of elements identified by a key or array index.&lt;br&gt;
b) Records- It is structured data usually in the form of rows.&lt;br&gt;
c) Union- They are a collection of several representations. &lt;br&gt;
Abstract data types&lt;br&gt;
In this data type, the behaviour is analyzed from the point of view of the user. The further list includes the following-&lt;br&gt;
a) Container- This has a collection of the variable for problem-solving.&lt;br&gt;
b) List- This includes ordered values of countable values&lt;br&gt;
c) Graph- It represents pictorial representation of data for better understanding and evaluation.&lt;br&gt;
d)Other abstract data types include tuple, multimap, set, multiset, stack, queue, double-ended queue. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linear Data Structures&lt;/strong&gt;&lt;br&gt;
A data structure is linear if the imageelements of that data structure form a linear pattern or sequence.&lt;br&gt;
Control table&lt;br&gt;
Image&lt;br&gt;
Matrix&lt;br&gt;
Lists&lt;br&gt;
Tree types&lt;br&gt;
Tree types include the main head (parent node) and then the branches (nodes) are divided based on subcategories and are further divided. This continues until all the elements have been allocated properly in their branches.&lt;br&gt;
Binary trees- In this tree function, there is a maximum of two sub-nodes. They are referred to as a left child and a right child.&lt;br&gt;
b) Decision trees- This tree is a systematic analysis of the possible consequences, events, outcomes to display an algorithm.&lt;br&gt;
Graphs&lt;br&gt;
A pictorial representation of data for better understanding purposes.&lt;br&gt;
a) Multigraph- it is permitted to have multiple edges which may have an identity and may not have an identity.&lt;br&gt;
b) Adjacency matrix- This is used for representing finite graphs.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Python: Beginners Guide to Data Structures</title>
      <dc:creator>Lizaatis1</dc:creator>
      <pubDate>Mon, 21 Feb 2022 18:50:01 +0000</pubDate>
      <link>https://forem.com/lizaatis1/python-beginners-guide-to-data-structures-o8c</link>
      <guid>https://forem.com/lizaatis1/python-beginners-guide-to-data-structures-o8c</guid>
      <description>&lt;p&gt;&lt;strong&gt;`DATA STRUCTURES AND ALGORITHM IN PYTHON&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;What are data structures?&lt;/strong&gt;&lt;br&gt;
Data structures allow you easy access to efficient modification&lt;br&gt;
Organize, store, relate and perform operations on them accordingly&lt;/p&gt;

&lt;p&gt;There are two categories of data structures in python&lt;br&gt;
• Built-in data structures&lt;br&gt;
• User defined data structures&lt;br&gt;
&lt;strong&gt;Built-in data structures&lt;/strong&gt;&lt;br&gt;
Enables you to store and access data. They include:&lt;br&gt;
Lists&lt;br&gt;
Sets&lt;br&gt;
Tuples&lt;br&gt;
Dictionary&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User defined&lt;/strong&gt;&lt;br&gt;
Aallow users to create there own data structures&lt;br&gt;
Stack &lt;br&gt;
Queue&lt;br&gt;
Tree&lt;br&gt;
LinkedList&lt;br&gt;
Graph&lt;br&gt;
HashMap&lt;/p&gt;

&lt;p&gt;Built in data structures&lt;br&gt;
Lists&lt;br&gt;
Lists used to store data of different data types in a sequential manner&lt;br&gt;
They are mutable. To create a list, you use the square brackets and add elements into it accordingly. If you do not pass any elements inside the square brackets, you get an empty list as the output.&lt;br&gt;
1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
4   my_list = [] #create empty list&lt;br&gt;
print(my_list)&lt;br&gt;
my_list = [1, 2, 3, 'example', 3.132] #creating list with data&lt;br&gt;
print(my_list)&lt;/p&gt;

&lt;p&gt;Tuple are same as list , only that when data enters a tuple it cannot be modified. Not mutable&lt;br&gt;
You create a tuple using parenthesis or using the tuple() function.&lt;br&gt;
1&lt;br&gt;
2   my_tuple = (1, 2, 3) #create tuple&lt;/p&gt;

&lt;p&gt;A tuple is a built-in data structure in Python that is an ordered collection of objects. The primary differing characteristic between lists and tuples is mutability. Lists are mutable, whereas tuples are immutable. Tuples cannot be modified, added, or deleted once they’ve been created. Lists are defined by using parentheses to enclose the elements, which are separated by commas&lt;br&gt;
Dictionary&lt;br&gt;
Used to store key value pairs, example is mapping employee names with employee IDs&lt;br&gt;
Created using curly braces&lt;br&gt;
Dictionaries can be created using the flower braces or using the dict() function. You need to add the key-value pairs whenever you work with dictionaries.&lt;br&gt;
my_dict = {1: 'Python', 2: 'Java'} #dictionary with elements&lt;br&gt;
print(my_dict)&lt;br&gt;
are used to store key-value pairs&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sets&lt;/strong&gt;&lt;br&gt;
A collection of unordered elements&lt;br&gt;
They are mutable, can be created using curly braces.&lt;br&gt;
Creating a set&lt;br&gt;
Sets are created using the flower braces but instead of adding key-value pairs, you just pass values to it.&lt;br&gt;
1&lt;br&gt;
2   my_set = {1, 2, 3, 4, 5, 5, 5} #create set&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User-defined data structures&lt;br&gt;
Stack&lt;/strong&gt;&lt;br&gt;
Linear data structures based on the principle of last in first out. Built using array structures.&lt;br&gt;
Applications. Recursive programming, reverse inverse, word editors&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Queues&lt;/strong&gt;&lt;br&gt;
Linear data structure that is based on principle of first in first out. Data entered first will be accessed first. Built using array structures. Allows insertion of elements from one end and deletion from the other. &lt;br&gt;
queue = ['first', 'second', 'third']&lt;br&gt;
print(queue)&lt;br&gt;
Aq&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trees&lt;/strong&gt;&lt;br&gt;
Non linear data structures with roots and nodes. Root is where the data originate and nodes are data point that are available to us. Node preceding is the parent and node that is after is the child. Last node is the leaves. &lt;br&gt;
Uses:&lt;br&gt;
Html pages, searching purposes&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linked list&lt;/strong&gt;&lt;br&gt;
Linear data structures that are not stored consequently but are linked to each other using pointers. Node is composed of data and a pointers called the nest. These are used in image viewing applications&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Graph&lt;/strong&gt;&lt;br&gt;
Used to store data collection of point called&lt;/p&gt;

&lt;p&gt;Uses&lt;br&gt;
Google maps, uber to find the shortest distance&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hashmaps&lt;/strong&gt;&lt;br&gt;
Same as dictionary&lt;br&gt;
Used in phone books, populate data according to the data&lt;/p&gt;

&lt;p&gt;=&lt;br&gt;
&lt;strong&gt;Algorithms&lt;/strong&gt;&lt;br&gt;
These are rules or instructions that are formulated in a finite, sequential order to solve problems. They provide pseudocode for problems for various languages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Process for writing algorithms&lt;/strong&gt;&lt;br&gt;
Identify the problem&lt;br&gt;
Identify starting point&lt;br&gt;
Determine end point&lt;br&gt;
Formulate intermediate steps&lt;br&gt;
Review steps&lt;br&gt;
Can be done depending on user preferences&lt;br&gt;
Elements&lt;br&gt;
Defined output and input&lt;br&gt;
Flexibility&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithm Classes&lt;/strong&gt;&lt;br&gt;
Greedy algorithms- This involves taking the easiest step without worrying about future complexity&lt;br&gt;
Dynamic programming- Divide problem into sections and remember the result of each section and apply to similar ones.&lt;br&gt;
Divide and Conquer- Divides problems into sections and solve them separately&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tree Traversal algorithms&lt;/strong&gt;&lt;br&gt;
This refers to visiting each node present in the tree exactly once in order to update&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of tree traversals&lt;/strong&gt;&lt;br&gt;
In-order traversal- refers to visiting the left nodes followed by the root and then right&lt;br&gt;
Post-order traversal- refers to visiting the left nodes followed by the right nodes and then root node&lt;br&gt;
Pre-order traversal- refers to visiting the root nodes and then right nodes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sorting Algorithms&lt;/strong&gt; &lt;br&gt;
Sorting algorithms denote the ways to arrange data in a particular format. Sorting ensures that data searching is optimized to a high level and that the data is&lt;br&gt;
• &lt;strong&gt;Bubble Sort&lt;/strong&gt; – This algorithm is based on comparison in which there is repeated swapping of adjacent elements if they are in an incorrect order.&lt;br&gt;
• &lt;strong&gt;Merge Sort&lt;/strong&gt; – Based on the divide and conquer algorithm, Merge sort divides the Array into two halves, sorts them, and then combines them.&lt;br&gt;
• &lt;strong&gt;Insertion Sort&lt;/strong&gt; – This sorting begins with comparing and sorting the first two elements. Then, the third element is compared with the two previously sorted elements and so on.&lt;br&gt;
• &lt;strong&gt;Shell Sort&lt;/strong&gt; – It is a form of Insertion sort, but here, far away elements are sorted. A large sub-list of a given list is sorted, and the size of the list is progressively reduced until all the elements are sorted. &lt;br&gt;
• &lt;strong&gt;Selection Sort&lt;/strong&gt; – This algorithm begins by finding the minimum value from a list of elements and puts it into a sorted list. The process is then repeated for each of the remaining elements in the list which is unsorted. The new element entering the sorted list is compared with its existing elements and placed at the correct position. The process goes on until all the elements are sorted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Searching Algorithms&lt;/strong&gt; &lt;br&gt;
Searching algorithms help in checking and retrieving an element from different data structures. One type of searching algorithm applies the method of sequential search where the list is sequentially traversed, and every element is checked (linear search). In another type, the interval search, elements are searched for in sorted data structures (binary search). Let us look at some of the examples:&lt;br&gt;
• &lt;strong&gt;Linear Search **– In this algorithm, each item is sequentially searched one by one.&lt;br&gt;
• **Binary Search&lt;/strong&gt; – The search interval is repeatedly divided in half. If the element to be searched is lower than the central component of the interval, the interval is narrowed to the lower half. Otherwise, it is narrowed to the upper half. The process is repeated until the value is found. &lt;br&gt;
Graph Algorithms &lt;br&gt;
There are two methods of traversing graphs using their edges. These are:&lt;br&gt;
• &lt;strong&gt;Depth-first Traversal (DFS)&lt;/strong&gt; – In this algorithm, a graph is traversed in a depth-ward motion. When any iteration faces a dead end, a stack is used to go to the next vertex and start a search. DFS is implemented in Python using the set data types.&lt;br&gt;
• Breadth-first Traversal (BFS) – In this algorithm, a graph is traversed in a breadthward motion. When any iteration faces a dead end, a queue is used to go to the next vertex and start a search. BFS is implemented in Python using the queue data structure.&lt;br&gt;
Algorithm Analysis &lt;br&gt;
• A Priori Analysis – This represents a theoretical analysis of the algorithm before its implement ation. An algorithm’s efficiency is measured by presuming that factors, such as processor speed, are constant and have no consequence on the algorithm.&lt;br&gt;
• A Posterior Analysis – This refers to the empirical analysis of the algorithm after its implementation. A programming language is used to implement the selected algorithm, followed by its execution on a computer. This analysis collects statistics, such as the time and space required for the algorithm to run.&lt;/p&gt;

&lt;p&gt;AQ  `DATA STRUCTURES AND ALGORITHM IN PYTHON&lt;br&gt;
What are data structures?&lt;br&gt;
Data structures allow you easy access to efficient modification&lt;br&gt;
Organize, store, relate and perform operations on them accordingly&lt;/p&gt;

&lt;p&gt;There are two categories of data structures in python&lt;br&gt;
• Built-in data structures&lt;br&gt;
• User defined data structures&lt;br&gt;
Built-in data structures&lt;br&gt;
Enables you to store and access data. They include:&lt;br&gt;
Lists&lt;br&gt;
Sets&lt;br&gt;
Tuples&lt;br&gt;
Dictionary&lt;/p&gt;

&lt;p&gt;User defined&lt;br&gt;
Aallow users to create there own data structures&lt;br&gt;
Stack &lt;br&gt;
Queue&lt;br&gt;
Tree&lt;br&gt;
LinkedList&lt;br&gt;
Graph&lt;br&gt;
HashMap&lt;/p&gt;

&lt;p&gt;Built in data structures&lt;br&gt;
Lists&lt;br&gt;
Lists used to store data of different data types in a sequential manner&lt;br&gt;
They are mutable. To create a list, you use the square brackets and add elements into it accordingly. If you do not pass any elements inside the square brackets, you get an empty list as the output.&lt;br&gt;
1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
4   my_list = [] #create empty list&lt;br&gt;
print(my_list)&lt;br&gt;
my_list = [1, 2, 3, 'example', 3.132] #creating list with data&lt;br&gt;
print(my_list)&lt;/p&gt;

&lt;p&gt;Tuple are same as list , only that when data enters a tuple it cannot be modified. Not mutable&lt;br&gt;
You create a tuple using parenthesis or using the tuple() function.&lt;br&gt;
1&lt;br&gt;
2   my_tuple = (1, 2, 3) #create tuple&lt;/p&gt;

&lt;p&gt;A tuple is a built-in data structure in Python that is an ordered collection of objects. The primary differing characteristic between lists and tuples is mutability. Lists are mutable, whereas tuples are immutable. Tuples cannot be modified, added, or deleted once they’ve been created. Lists are defined by using parentheses to enclose the elements, which are separated by commas&lt;br&gt;
Dictionary&lt;br&gt;
Used to store key value pairs, example is mapping employee names with employee IDs&lt;br&gt;
Created using curly braces&lt;br&gt;
Dictionaries can be created using the flower braces or using the dict() function. You need to add the key-value pairs whenever you work with dictionaries.&lt;br&gt;
my_dict = {1: 'Python', 2: 'Java'} #dictionary with elements&lt;br&gt;
print(my_dict)&lt;br&gt;
are used to store key-value pairs&lt;/p&gt;

&lt;p&gt;Sets&lt;br&gt;
A collection of unordered elements&lt;br&gt;
They are mutable, can be created using curly braces.&lt;br&gt;
Creating a set&lt;br&gt;
Sets are created using the flower braces but instead of adding key-value pairs, you just pass values to it.&lt;br&gt;
1&lt;br&gt;
2   my_set = {1, 2, 3, 4, 5, 5, 5} #create set&lt;/p&gt;

&lt;p&gt;User-defined data structures&lt;br&gt;
Stack&lt;br&gt;
Linear data structures based on the principle of last in first out. Built using array structures.&lt;br&gt;
Applications. Recursive programming, reverse inverse, word editors&lt;/p&gt;

&lt;p&gt;Queues&lt;br&gt;
Linear data structure that is based on principle of first in first out. Data entered first will be accessed first. Built using array structures. Allows insertion of elements from one end and deletion from the other. &lt;br&gt;
queue = ['first', 'second', 'third']&lt;br&gt;
print(queue)&lt;br&gt;
Aq&lt;/p&gt;

&lt;p&gt;Trees&lt;br&gt;
Non linear data structures with roots and nodes. Root is where the data originate and nodes are data point that are available to us. Node preceding is the parent and node that is after is the child. Last node is the leaves. &lt;br&gt;
Uses:&lt;br&gt;
Html pages, searching purposes&lt;br&gt;
Linked list&lt;br&gt;
Linear data structures that are not stored consequently but are linked to each other using pointers. Node is composed of data and a pointers called the nest. These are used in image viewing applications&lt;/p&gt;

&lt;p&gt;Graph&lt;br&gt;
Used to store data collection of point called&lt;/p&gt;

&lt;p&gt;Uses&lt;br&gt;
Google maps, uber to find the shortest distance&lt;/p&gt;

&lt;p&gt;Hashmaps&lt;br&gt;
Same as dictionary&lt;br&gt;
Used in phone books, populate data according to the data&lt;/p&gt;

&lt;p&gt;=&lt;br&gt;
Algorithms&lt;br&gt;
These are rules or instructions that are formulated in a finite, sequential order to solve problems. They provide pseudocode for problems for various languages.&lt;/p&gt;

&lt;p&gt;Process for writing algorithms&lt;br&gt;
Identify the problem&lt;br&gt;
Identify starting point&lt;br&gt;
Determine end point&lt;br&gt;
Formulate intermediate steps&lt;br&gt;
Review steps&lt;br&gt;
Can be done depending on user preferences&lt;br&gt;
Elements&lt;br&gt;
Defined output and input&lt;br&gt;
Flexibility&lt;/p&gt;

&lt;p&gt;Algorithm Classes&lt;br&gt;
Greedy algorithms- This involves taking the easiest step without worrying about future complexity&lt;br&gt;
Dynamic programming- Divide problem into sections and remember the result of each section and apply to similar ones.&lt;br&gt;
Divide and Conquer- Divides problems into sections and solve them separately&lt;/p&gt;

&lt;p&gt;Tree Traversal algorithms&lt;br&gt;
This refers to visiting each node present in the tree exactly once in order to update&lt;/p&gt;

&lt;p&gt;Types of tree traversals&lt;br&gt;
In-order traversal- refers to visiting the left nodes followed by the root and then right&lt;br&gt;
Post-order traversal- refers to visiting the left nodes followed by the right nodes and then root node&lt;br&gt;
Pre-order traversal- refers to visiting the root nodes and then right nodes.&lt;br&gt;
Sorting Algorithms &lt;br&gt;
Sorting algorithms denote the ways to arrange data in a particular format. Sorting ensures that data searching is optimized to a high level and that the data is&lt;br&gt;
• Bubble Sort – This algorithm is based on comparison in which there is repeated swapping of adjacent elements if they are in an incorrect order.&lt;br&gt;
• Merge Sort – Based on the divide and conquer algorithm, Merge sort divides the Array into two halves, sorts them, and then combines them.&lt;br&gt;
• Insertion Sort – This sorting begins with comparing and sorting the first two elements. Then, the third element is compared with the two previously sorted elements and so on.&lt;br&gt;
• Shell Sort – It is a form of Insertion sort, but here, far away elements are sorted. A large sub-list of a given list is sorted, and the size of the list is progressively reduced until all the elements are sorted. &lt;br&gt;
• Selection Sort – This algorithm begins by finding the minimum value from a list of elements and puts it into a sorted list. The process is then repeated for each of the remaining elements in the list which is unsorted. The new element entering the sorted list is compared with its existing elements and placed at the correct position. The process goes on until all the elements are sorted.&lt;br&gt;
Searching Algorithms &lt;br&gt;
Searching algorithms help in checking and retrieving an element from different data structures. One type of searching algorithm applies the method of sequential search where the list is sequentially traversed, and every element is checked (linear search). In another type, the interval search, elements are searched for in sorted data structures (binary search). Let us look at some of the examples:&lt;br&gt;
• Linear Search – In this algorithm, each item is sequentially searched one by one.&lt;br&gt;
• Binary Search – The search interval is repeatedly divided in half. If the element to be searched is lower than the central component of the interval, the interval is narrowed to the lower half. Otherwise, it is narrowed to the upper half. The process is repeated until the value is found. &lt;br&gt;
Graph Algorithms &lt;br&gt;
There are two methods of traversing graphs using their edges. These are:&lt;br&gt;
• Depth-first Traversal (DFS) – In this algorithm, a graph is traversed in a depthward motion. When any iteration faces a dead end, a stack is used to go to the next vertex and start a search. DFS is implemented in Python using the set data types.&lt;br&gt;
• Breadth-first Traversal (BFS) – In this algorithm, a graph is traversed in a breadthward motion. When any iteration faces a dead end, a queue is used to go to the next vertex and start a search. BFS is implemented in Python using the queue data structure.&lt;br&gt;
Algorithm Analysis &lt;br&gt;
• A Priori Analysis – This represents a theoretical analysis of the algorithm before its implementation. An algorithm’s efficiency is measured by presuming that factors, such as processor speed, are constant and have no consequence on the algorithm.&lt;br&gt;
• A Posterior Analysis – This refers to the empirical analysis of the algorithm after its implementation. A programming language is used to implement the selected algorithm, followed by its execution on a computer. This analysis collects statistics, such as the time and space required for the algorithm to run.&lt;/p&gt;

&lt;p&gt;AQ  `DATA STRUCTURES AND ALGORITHM IN PYTHON&lt;br&gt;
What are data structures?&lt;br&gt;
Data structures allow you easy access to efficient modification&lt;br&gt;
Organize, store, relate and perform operations on them accordingly&lt;/p&gt;

&lt;p&gt;There are two categories of data structures in python&lt;br&gt;
• Built-in data structures&lt;br&gt;
• User defined data structures&lt;br&gt;
Built-in data structures&lt;br&gt;
Enables you to store and access data. They include:&lt;br&gt;
Lists&lt;br&gt;
Sets&lt;br&gt;
Tuples&lt;br&gt;
Dictionary&lt;/p&gt;

&lt;p&gt;User defined&lt;br&gt;
Aallow users to create there own data structures&lt;br&gt;
Stack &lt;br&gt;
Queue&lt;br&gt;
Tree&lt;br&gt;
LinkedList&lt;br&gt;
Graph&lt;br&gt;
HashMap&lt;/p&gt;

&lt;p&gt;Built in data structures&lt;br&gt;
Lists&lt;br&gt;
Lists used to store data of different data types in a sequential manner&lt;br&gt;
They are mutable. To create a list, you use the square brackets and add elements into it accordingly. If you do not pass any elements inside the square brackets, you get an empty list as the output.&lt;br&gt;
1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
4   my_list = [] #create empty list&lt;br&gt;
print(my_list)&lt;br&gt;
my_list = [1, 2, 3, 'example', 3.132] #creating list with data&lt;br&gt;
print(my_list)&lt;/p&gt;

&lt;p&gt;Tuple are same as list , only that when data enters a tuple it cannot be modified. Not mutable&lt;br&gt;
You create a tuple using parenthesis or using the tuple() function.&lt;br&gt;
1&lt;br&gt;
2   my_tuple = (1, 2, 3) #create tuple&lt;/p&gt;

&lt;p&gt;A tuple is a built-in data structure in Python that is an ordered collection of objects. The primary differing characteristic between lists and tuples is mutability. Lists are mutable, whereas tuples are immutable. Tuples cannot be modified, added, or deleted once they’ve been created. Lists are defined by using parentheses to enclose the elements, which are separated by commas&lt;br&gt;
Dictionary&lt;br&gt;
Used to store key value pairs, example is mapping employee names with employee IDs&lt;br&gt;
Created using curly braces&lt;br&gt;
Dictionaries can be created using the flower braces or using the dict() function. You need to add the key-value pairs whenever you work with dictionaries.&lt;br&gt;
my_dict = {1: 'Python', 2: 'Java'} #dictionary with elements&lt;br&gt;
print(my_dict)&lt;br&gt;
are used to store key-value pairs&lt;/p&gt;

&lt;p&gt;Sets&lt;br&gt;
A collection of unordered elements&lt;br&gt;
They are mutable, can be created using curly braces.&lt;br&gt;
Creating a set&lt;br&gt;
Sets are created using the flower braces but instead of adding key-value pairs, you just pass values to it.&lt;br&gt;
1&lt;br&gt;
2   my_set = {1, 2, 3, 4, 5, 5, 5} #create set&lt;/p&gt;

&lt;p&gt;User-defined data structures&lt;br&gt;
Stack&lt;br&gt;
Linear data structures based on the principle of last in first out. Built using array structures.&lt;br&gt;
Applications. Recursive programming, reverse inverse, word editors&lt;/p&gt;

&lt;p&gt;Queues&lt;br&gt;
Linear data structure that is based on principle of first in first out. Data entered first will be accessed first. Built using array structures. Allows insertion of elements from one end and deletion from the other. &lt;br&gt;
queue = ['first', 'second', 'third']&lt;br&gt;
print(queue)&lt;br&gt;
Aq&lt;/p&gt;

&lt;p&gt;Trees&lt;br&gt;
Non linear data structures with roots and nodes. Root is where the data originate and nodes are data point that are available to us. Node preceding is the parent and node that is after is the child. Last node is the leaves. &lt;br&gt;
Uses:&lt;br&gt;
Html pages, searching purposes&lt;br&gt;
Linked list&lt;br&gt;
Linear data structures that are not stored consequently but are linked to each other using pointers. Node is composed of data and a pointers called the nest. These are used in image viewing applications&lt;/p&gt;

&lt;p&gt;Graph&lt;br&gt;
Used to store data collection of point called&lt;/p&gt;

&lt;p&gt;Uses&lt;br&gt;
Google maps, uber to find the shortest distance&lt;/p&gt;

&lt;p&gt;Hashmaps&lt;br&gt;
Same as dictionary&lt;br&gt;
Used in phone books, populate data according to the data&lt;/p&gt;

&lt;p&gt;=&lt;br&gt;
Algorithms&lt;br&gt;
These are rules or instructions that are formulated in a finite, sequential order to solve problems. They provide pseudocode for problems for various languages.&lt;/p&gt;

&lt;p&gt;Process for writing algorithms&lt;br&gt;
Identify the problem&lt;br&gt;
Identify starting point&lt;br&gt;
Determine end point&lt;br&gt;
Formulate intermediate steps&lt;br&gt;
Review steps&lt;br&gt;
Can be done depending on user preferences&lt;br&gt;
Elements&lt;br&gt;
Defined output and input&lt;br&gt;
Flexibility&lt;/p&gt;

&lt;p&gt;Algorithm Classes&lt;br&gt;
Greedy algorithms- This involves taking the easiest step without worrying about future complexity&lt;br&gt;
Dynamic programming- Divide problem into sections and remember the result of each section and apply to similar ones.&lt;br&gt;
Divide and Conquer- Divides problems into sections and solve them separately&lt;/p&gt;

&lt;p&gt;Tree Traversal algorithms&lt;br&gt;
This refers to visiting each node present in the tree exactly once in order to update&lt;/p&gt;

&lt;p&gt;Types of tree traversals&lt;br&gt;
In-order traversal- refers to visiting the left nodes followed by the root and then right&lt;br&gt;
Post-order traversal- refers to visiting the left nodes followed by the right nodes and then root node&lt;br&gt;
Pre-order traversal- refers to visiting the root nodes and then right nodes.&lt;br&gt;
Sorting Algorithms &lt;br&gt;
Sorting algorithms denote the ways to arrange data in a particular format. Sorting ensures that data searching is optimized to a high level and that the data is&lt;br&gt;
• Bubble Sort – This algorithm is based on comparison in which there is repeated swapping of adjacent elements if they are in an incorrect order.&lt;br&gt;
• Merge Sort – Based on the divide and conquer algorithm, Merge sort divides the Array into two halves, sorts them, and then combines them.&lt;br&gt;
• Insertion Sort – This sorting begins with comparing and sorting the first two elements. Then, the third element is compared with the two previously sorted elements and so on.&lt;br&gt;
• Shell Sort – It is a form of Insertion sort, but here, far away elements are sorted. A large sub-list of a given list is sorted, and the size of the list is progressively reduced until all the elements are sorted. &lt;br&gt;
• Selection Sort – This algorithm begins by finding the minimum value from a list of elements and puts it into a sorted list. The process is then repeated for each of the remaining elements in the list which is unsorted. The new element entering the sorted list is compared with its existing elements and placed at the correct position. The process goes on until all the elements are sorted.&lt;br&gt;
Searching Algorithms &lt;br&gt;
Searching algorithms help in checking and retrieving an element from different data structures. One type of searching algorithm applies the method of sequential search where the list is sequentially traversed, and every element is checked (linear search). In another type, the interval search, elements are searched for in sorted data structures (binary search). Let us look at some of the examples:&lt;br&gt;
• Linear Search – In this algorithm, each item is sequentially searched one by one.&lt;br&gt;
• Binary Search – The search interval is repeatedly divided in half. If the element to be searched is lower than the central component of the interval, the interval is narrowed to the lower half. Otherwise, it is narrowed to the upper half. The process is repeated until the value is found. &lt;br&gt;
Graph Algorithms &lt;br&gt;
There are two methods of traversing graphs using their edges. These are:&lt;br&gt;
• Depth-first Traversal (DFS) – In this algorithm, a graph is traversed in a depthward motion. When any iteration faces a dead end, a stack is used to go to the next vertex and start a search. DFS is implemented in Python using the set data types.&lt;br&gt;
• Breadth-first Traversal (BFS) – In this algorithm, a graph is traversed in a breadthward motion. When any iteration faces a dead end, a queue is used to go to the next vertex and start a search. BFS is implemented in Python using the queue data structure.&lt;br&gt;
Algorithm Analysis &lt;br&gt;
• A Priori Analysis – This represents a theoretical analysis of the algorithm before its implementation. An algorithm’s efficiency is measured by presuming that factors, such as processor speed, are constant and have no consequence on the algorithm.&lt;br&gt;
• A Posterior Analysis – This refers to the empirical analysis of the algorithm after its implementation. A programming language is used to implement the selected algorithm, followed by its execution on a computer. This analysis collects statistics, such as the time and space required for the algorithm to run.&lt;/p&gt;

</description>
      <category>python</category>
      <category>data</category>
    </item>
    <item>
      <title>Introduction To JavaScript</title>
      <dc:creator>Lizaatis1</dc:creator>
      <pubDate>Mon, 14 Feb 2022 13:49:36 +0000</pubDate>
      <link>https://forem.com/lizaatis1/introduction-to-javascript-4dn</link>
      <guid>https://forem.com/lizaatis1/introduction-to-javascript-4dn</guid>
      <description>&lt;p&gt;*&lt;em&gt;Who is this course for? *&lt;/em&gt;&lt;br&gt;
This course is for developers of every level, from beginner to advanced, who want to improve their JavaScript skills and get up to date with all the upgrades done to the language specification since 2015&lt;/p&gt;

&lt;p&gt;What is Javascript?&lt;br&gt;
Javascript is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. JavaScript was developed by Brendan Eich in 1995.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What can Javascript do?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript Can Change HTML Content&lt;/li&gt;
&lt;li&gt;Can Change HTML Attribute Values&lt;/li&gt;
&lt;li&gt;Change HTML Styles (CSS)&lt;/li&gt;
&lt;li&gt;JavaScript Can Hide HTML Elements&lt;/li&gt;
&lt;li&gt;Show HTML Elements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How does JavaScript work?&lt;/strong&gt;&lt;br&gt;
JavaScript can be added to a page’s code using  tags with the type attribute text/javascript or as a header file with the extension .js. A web browser then downloads and runs the script, changing it into the dynamic objects and effects seen on a screen.&amp;lt;br&amp;gt;
JS framework&amp;lt;br&amp;gt;
ReactJS, Angular, Vue.js and Bootstrap.&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;How it is used&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;ul&amp;gt;
&amp;lt;li&amp;gt;Build web and mobile applications&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Add interactive elements to a website&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Many developers use JavaScript to make web pages more interactive&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Develop games&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;The programming language&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Build efficient IoT systems&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;How to Run JavaScript?&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;
JavaScript cannot run on its own. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it is up to the browser to execute it. &amp;lt;br&amp;gt;
To start with, you need a text editor to write your code and a browser to display the web pages you develop. You can use a text editor of your choice including Notepad++, Visual Studio Code, Sublime Text, Atom or any other text editor you are comfortable with. You can use any web browser including Google Chrome, Firefox, Microsoft Edge, Internet Explorer&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Main uses are:&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;ul&amp;gt;
&amp;lt;li&amp;gt;Client-side validation,&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Dynamic drop-down menus,&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Displaying date and time,&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Displaying pop-up windows and dialog boxes (like an alert dialog box, confirm dialog box and prompt dialog box),&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Displaying clocks etc.&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;JavaScript Example&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;script&amp;gt;  
document.write("Hello JavaScript by JavaScript");  
 
 

&lt;/p&gt;
&lt;p&gt;*&lt;em&gt;Javascript frameworks and libraries available:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
 Angular&lt;br&gt;
-React&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;jQuery&lt;/li&gt;
&lt;li&gt;Vue.js&lt;/li&gt;
&lt;li&gt;Ext.js&lt;/li&gt;
&lt;li&gt;Ember.js&lt;/li&gt;
&lt;li&gt;Meteor&lt;/li&gt;
&lt;li&gt;Mithril&lt;/li&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;Polymer&lt;/li&gt;
&lt;li&gt;Aurelia&lt;/li&gt;
&lt;li&gt;Backbone.js
`&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Ultimate Guide TO Python programming</title>
      <dc:creator>Lizaatis1</dc:creator>
      <pubDate>Mon, 14 Feb 2022 13:28:00 +0000</pubDate>
      <link>https://forem.com/lizaatis1/ultimate-guide-to-python-programming-i9i</link>
      <guid>https://forem.com/lizaatis1/ultimate-guide-to-python-programming-i9i</guid>
      <description>&lt;p&gt;Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Characteristics of Python Programming -&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;-It supports functional and structured programming methods as well as OOP.&lt;br&gt;
-It can be used as a scripting language or can be compiled to byte-code for building large applications.&lt;br&gt;
-It provides very high-level dynamic data types and supports dynamic type checking.&lt;br&gt;
-It supports automatic garbage collection.&lt;br&gt;
-It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.&lt;/p&gt;

&lt;p&gt;_&lt;em&gt;For download and installation check &lt;a href="//python.org"&gt;&lt;/a&gt;&lt;br&gt;
Setting up Visual Studio Code&lt;/em&gt;&lt;br&gt;
**&lt;br&gt;
Setting up the VS Code, you follow these steps:**&lt;/p&gt;

&lt;p&gt;First, navigate to the VS Code official website and download the VS code based on your platform (Windows, macOS, or Linux).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;launch the setup wizard and follow the steps.&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;Once the installation completes, you can launch the VS code application:&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;Install Python Extension&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To make the VS Code works with Python, you need to install the Python extension from the Visual Studio Marketplace.&lt;/p&gt;

&lt;p&gt;steps:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;click the Extensions tab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;ul&gt;
&lt;li&gt;type the python keyword on the search input.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;ul&gt;
&lt;li&gt;click the Python extension. It’ll show detailed information on the right pane.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, click the Install button to install the Python extension.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Creating a new Python project&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a new folder called helloworld.&lt;/li&gt;
&lt;li&gt;Launch the VS code and open the helloworld folder.&lt;/li&gt;
&lt;li&gt; create a new app.py file and enter the following code and save the file:&lt;/li&gt;
&lt;li&gt;print('Hello, World!')&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;A function&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you sum two numbers, that’s a function. And when you multiply two numbers, that’s also a function.&lt;br&gt;
Each function takes your inputs, applies some rules, and returns a result.&lt;br&gt;
In the above example, the print() is a function. It accepts a string and shows it on the screen.&lt;br&gt;
Python has many built-in functions like the print() function to use them out of the box in your program.&lt;br&gt;
In addition, Python allows you to define your functions, which you’ll learn how to do it later.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Executing the Python program on VS&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zuAStZ0p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mb6sgzb2rc9m1cuym2kn.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zuAStZ0p--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mb6sgzb2rc9m1cuym2kn.PNG" alt="Image description" width="687" height="263"&gt;&lt;/a&gt;&lt;br&gt;
To execute the pro.py file, you first launch the Command Prompt on OS.&lt;/p&gt;

&lt;p&gt;, navigate to the helloworld folder.&lt;/p&gt;

&lt;p&gt;then type the following command to execute the pro.py file:&lt;/p&gt;

&lt;p&gt;python pro.py&lt;br&gt;
Code language: Python (python)&lt;/p&gt;

&lt;p&gt;If everything is fine, you’ll see the following message on the screen:&lt;/p&gt;

&lt;p&gt;Hello, World!&lt;br&gt;
Code language: Python (python)&lt;/p&gt;

&lt;p&gt;If you use VS Code, you can also launch the Terminal within the VS code by:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Accessing the menu Terminal &amp;gt; New Terminal
Or using the keyboard shortcut Ctrl+Shift+`.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Typically, the backtick key (`) locates under the Esc key on the keyboard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python IDLE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ukyTxNlT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/isb4hhmcrswv50wwoyx0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ukyTxNlT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/isb4hhmcrswv50wwoyx0.PNG" alt="Image description" width="262" height="184"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In full is Python Integration Development  Environment (IDE), it  comes with the Python distribution by default.&lt;br&gt;
The Python IDLE is also known as an interactive interpreter. It has many features such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code editing with syntax highlighting&lt;/li&gt;
&lt;li&gt;    Smart indenting&lt;/li&gt;
&lt;li&gt;    And auto-completion&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Python IDLE helps you experiment with Python quickly in a trial-and-error manner.&lt;br&gt;
&lt;strong&gt;Process for launching python IDE&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lunch the Python IDLE program:&lt;/li&gt;
&lt;li&gt;A new Python Shell window will display as follows:&lt;/li&gt;
&lt;li&gt;Now, you can enter the Python code after the cursor &amp;gt;&amp;gt;&amp;gt; and press Enter to execute it.
For example, you can type the code print('Hello, World!') and press Enter, you’ll see the message Hello, World! immediately on the screen:
Python Hello World - Executing code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Use the python pro.py command from the Command Prompt on Windows or Terminal on macOS or Linux to execute the app.py file.&lt;br&gt;
 Use the print() function to show a message on the screen.&lt;br&gt;
Use the Python IDLE to type Python code and execute it immediately.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Python basics&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;- Fundamentals&lt;/li&gt;
&lt;li&gt;- Syntax&lt;/li&gt;
&lt;li&gt;- variables&lt;/li&gt;
&lt;li&gt;- strings&lt;/li&gt;
&lt;li&gt;- numbers&lt;/li&gt;
&lt;li&gt;- boleans&lt;/li&gt;
&lt;li&gt;- constants&lt;/li&gt;
&lt;li&gt;- comments&lt;/li&gt;
&lt;li&gt;- Type conversion&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>intro</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
