<?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>DEV Community: James-Karanja</title>
    <description>The latest articles on DEV Community by James-Karanja (@jameskaranja).</description>
    <link>https://dev.to/jameskaranja</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%2F814483%2Fe69e68ed-67e2-4b98-a543-e5ccb6e8aafa.png</url>
      <title>DEV Community: James-Karanja</title>
      <link>https://dev.to/jameskaranja</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jameskaranja"/>
    <language>en</language>
    <item>
      <title>Introduction to data structures and algorithms with python</title>
      <dc:creator>James-Karanja</dc:creator>
      <pubDate>Mon, 21 Feb 2022 12:30:32 +0000</pubDate>
      <link>https://dev.to/jameskaranja/introduction-to-data-structures-and-algorithms-with-python-18lb</link>
      <guid>https://dev.to/jameskaranja/introduction-to-data-structures-and-algorithms-with-python-18lb</guid>
      <description>&lt;p&gt;&lt;strong&gt;List&lt;/strong&gt;&lt;br&gt;
A list in python is a built-in data type which is used to store multiple items in a single variable. Lists are created using square brackets.&lt;br&gt;
List items are ordered, changeable and allow duplicate values. List items are indexed; the first item has index 0 the second item has index 1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dictionaries&lt;/strong&gt;&lt;br&gt;
Dictionaries are used to store data values in Key:Value pairs. Dictionaries are ordered, changeable and do not allow duplicates.&lt;br&gt;
Dictionaries are written with curly brackets and have keys and values.&lt;br&gt;
Items in a dictionary can be referred to by using the key name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tuples&lt;/strong&gt;&lt;br&gt;
Tuples are used to store multiple items in a single variable. A tuple is one of four built-in data types in python used to store collections of data. A tuple is a collection which is ordered and unchangeable. A tuple is written with round brackets.&lt;br&gt;
Tuples are ordered and changeable and allow duplicate values. Tuple items are indexed; the first item has index 0 the second item has index 1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sets&lt;/strong&gt;&lt;br&gt;
A set in python is another type of built-in data type. Sets are used to store multiple items in a single variable. A set  is a collection which is ordered and changeable and indexed. &lt;br&gt;
NB: Set items are unchangeable but you can remove items and add new items.&lt;br&gt;
Sets are written with curly brackets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Queues&lt;/strong&gt;&lt;br&gt;
A queue is a linear data structure which means that data elements are stored in a sequential manner. A queue uses a First In First Out (FIFO)  method of storage that means the last recently added item is removed first. For example; in any queue of consumers for resources, the consumer that came first is served first. &lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Stack *&lt;/em&gt;&lt;br&gt;
A stack is another linear data structure that is very similar to a queue. It however follows the Last In Last Out  (LIFO) method of storage; that is, the last item that goes in is the first item that goes out. An example of stack is when plates are arranged on a shelf. Stacks can be implemented in browsers where the last opened tab will be the top most item in the history.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linked list&lt;/strong&gt;&lt;br&gt;
A linked list is a sequence of data elements, which are connected together via links. Each data element contains a connection to another data element in the form of a pointer. They are implemented using the node concept. A node object is created and then another class is created to use this node object. Appropriate values are passed through the node object to point to the next data elements.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>datastructures</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>Python 101: Introduction to Modern Python. </title>
      <dc:creator>James-Karanja</dc:creator>
      <pubDate>Sun, 13 Feb 2022 10:13:21 +0000</pubDate>
      <link>https://dev.to/jameskaranja/python-101-introduction-to-modern-python-42h8</link>
      <guid>https://dev.to/jameskaranja/python-101-introduction-to-modern-python-42h8</guid>
      <description>&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;What is Python&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;Python is a high-level programming language that is multipurpose, versatile and cross-platform; a Python program written on a Macintosh computer will run on a Linux system and vice-versa.&lt;br&gt;
It is applicable pretty much anywhere that uses data and mathematical computation. It is also used in web development.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;Development of Python programming&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;It was designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It was mainly developed for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7bBktr-3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/udioxjh21q1sycj417du.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7bBktr-3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/udioxjh21q1sycj417du.jpg" alt="Image description" width="400" height="400"&gt;&lt;/a&gt;&lt;strong&gt;&lt;em&gt;&lt;u&gt;Figure:&lt;/u&gt;&lt;/em&gt;&lt;/strong&gt; &lt;strong&gt;Guido van Rossum&lt;/strong&gt;&lt;br&gt;
History narrates that it was started firstly as a hobby project . It is said to have succeeded ABC Programming Language. Guido had already helped to create ABC earlier in his career and had seen some issues with ABC but liked most of the features. He took its syntax and some of its good features while fixing its issues completely, ending up creating a very good scripting language which had removed all the flaws.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Side-note&lt;/em&gt;&lt;/strong&gt;: The 'Python' name isn't an abbreviation or acronym, but rather, simply the result of its creator, Guido van Rossum, being an avid Monty Python fan.&lt;br&gt;
The language was finally released  in 1991. It used a lot fewer codes to express the concepts, when we compare it with Java, C++ and C. In its design philosophy, its main objective is to provide code readability and advanced developer productivity. When it was released, it had more than enough capability to provide classes with inheritance, several core data types exception handling and functions.&lt;br&gt;
Python 3.10.2 is the latest version. Its development has been in strides. It is the most popular coding language in the world having turned 30 recently.&lt;br&gt;
For various purposes such as developing, scripting, generation and software testing, this language is utilized. Due to its elegance and simplicity, top technology organizations like Dropbox, Google, Quora, Mozilla, Hewlett-Packard, Qualcomm, IBM, and Cisco have implemented Python.&lt;br&gt;
Python has been an inspiration for many other coding languages such as Ruby, Cobra, Boo, CoffeeScript ECMAScript, Groovy, Swift Go, OCaml, Julia etc.&lt;br&gt;
Its major drawback has to be the length of time it takes to execute since it is an interpreted language and its dynamically typed.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;&lt;u&gt;Conclusion&lt;/u&gt;&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Python remains a favorite of many developers. It is easily readable and maintainable; code resembles plain English. It supports both function-oriented and structure-oriented programming. It is also compatible with all popular operating systems and platforms. Python supports a large built-in library from which we can extract any feature to implement in the form of packages. Thus it enables one to implement a feature without writing excess code.&lt;br&gt;
All this goes to show how attractive it is to learn, master and use Python in the modern programming universe. &lt;/p&gt;

</description>
      <category>python</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
