<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jephy Joseph on Medium]]></title>
        <description><![CDATA[Stories by Jephy Joseph on Medium]]></description>
        <link>https://medium.com/@glowrituals12?source=rss-045d31be598d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*05uRwmuXH95FigV-</url>
            <title>Stories by Jephy Joseph on Medium</title>
            <link>https://medium.com/@glowrituals12?source=rss-045d31be598d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:13:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@glowrituals12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python Dictionaries Explained for Beginners]]></title>
            <link>https://medium.com/@glowrituals12/python-dictionaries-explained-for-beginners-043075c97a3c?source=rss-045d31be598d------2</link>
            <guid isPermaLink="false">https://medium.com/p/043075c97a3c</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[beginers-guide]]></category>
            <dc:creator><![CDATA[Jephy Joseph]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 14:46:51 GMT</pubDate>
            <atom:updated>2026-08-04T14:46:51.991Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>A Python dictionary is one of the most useful data structures in Python. It stores data in <strong>key-value pairs</strong>, making it easy to retrieve, update, and organize information efficiently.</p><p>In this article, you’ll learn what dictionaries are, how to create them, access values, add and remove items, and see real-world examples.</p><h3>What is a Python Dictionary?</h3><p>A dictionary is an unordered collection of key-value pairs enclosed in curly braces {}.</p><h4>Example</h4><p>student = { “name”: “John”, “age”: 21, “course”: “Computer Science” } print(student)</p><h4>OUTPUT</h4><p>{‘name’: ‘John’, ‘age’: 21, ‘course’: ‘Computer Science’}</p><h3>Why Use Dictionaries?</h3><p>Python dictionaries allow you to:</p><ul><li>Store data using meaningful keys.</li><li>Retrieve values quickly.</li><li>Update information easily.</li><li>Organize structured data efficiently.</li></ul><h4>Creating a Dictionary</h4><p>employee = {<br> “id”: 101,<br> “name”: “Alice”,<br> “salary”: 50000<br>}</p><p>print(employee)</p><h4>Accessing Values</h4><p>student = {<br> “name”: “John”,<br> “age”: 21<br>}</p><p>print(student[“name”])<br>print(student[“age”])</p><h4>OUTPUT</h4><p>John<br>21</p><h4>Adding a New Item</h4><p>student = {<br> “name”: “John”<br>}</p><p>student[“city”] = “New York”</p><p>print(student)</p><h4>OUTPUT</h4><p>{‘name’: ‘John’, ‘city’: ‘New York’}</p><h4>Updating a Value</h4><p>student = {<br> “name”: “John”,<br> “age”: 21<br>}</p><p>student[“age”] = 22</p><p>print(student)</p><h4>Output</h4><p>{‘name’: ‘John’, ‘age’: 22}</p><h4>Removing an Item</h4><p>student = {<br> “name”: “John”,<br> “age”: 21,<br> “city”: “New York”<br>}</p><p>student.pop(“city”)</p><p>print(student)</p><h4>OUTPUT</h4><p>{‘name’: ‘John’, ‘age’: 21}</p><h4>Common Dictionary Methods</h4><p>Method Description</p><p>keys() Returns all keys</p><p>values()Returns all values</p><p>items()Returns key-value pairs</p><p>get()Retrieves a value safely</p><p>pop()Removes a key</p><p>update()Updates the dictionary</p><h3>Real-World Example</h3><p>A dictionary is useful for storing employee details.</p><p>employee = {<br> “id”: 101,<br> “name”: “Alice”,<br> “department”: “IT”<br>}</p><p>print(employee[“department”])</p><h3>Practice Questions</h3><ol><li>Create a dictionary with your name, age, and city.</li><li>Add a new key called &quot;email&quot;.</li><li>Update your age.</li><li>Remove the city key.</li><li>Print all keys using keys().</li></ol><h3>Conclusion</h3><p>Python dictionaries are one of the most powerful data structures because they store information in key-value pairs. They make programs easier to read and organize and are widely used in web development, APIs, databases, and data processing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=043075c97a3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Tuples Explained for Beginners (With Examples)]]></title>
            <link>https://medium.com/@glowrituals12/python-tuples-explained-for-beginners-with-examples-26eaed30f1f8?source=rss-045d31be598d------2</link>
            <guid isPermaLink="false">https://medium.com/p/26eaed30f1f8</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[free-python-tutorials]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jephy Joseph]]></dc:creator>
            <pubDate>Mon, 03 Aug 2026 16:24:40 GMT</pubDate>
            <atom:updated>2026-08-03T16:24:40.642Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Python provides several built-in data structures, and one of them is the <strong>tuple</strong>. A tuple is similar to a list, but it is <strong>immutable</strong>, which means its elements cannot be changed after creation. Tuples are useful for storing data that should remain constant throughout a program.</p><p>In this article, you’ll learn what tuples are, how to create them, access their elements, and where they are used in real-world Python applications.</p><h4>What is a Python Tuple?</h4><p>A tuple is an ordered collection of items enclosed in parentheses ().</p><h4>Example</h4><p>fruits = (“Apple”, “Banana”, “Orange”)</p><p>print(fruits)</p><h4>Output</h4><p>(‘Apple’, ‘Banana’, ‘Orange’)</p><h4>Why Use Tuples?</h4><p>Tuples are useful because they:</p><ul><li>Store multiple values together.</li><li>Cannot be modified after creation.</li><li>Are faster than lists for fixed data.</li><li>Can be used as dictionary keys.</li></ul><h4>Creating a Tuple</h4><p>numbers = (10, 20, 30, 40, 50)</p><p>print(numbers)</p><h4>Accessing Tuple Elements</h4><p>Like lists, tuples use <strong>zero-based indexing</strong>.</p><p>fruits = (“Apple”, “Banana”, “Orange”)</p><p>print(fruits[0])<br>print(fruits[1])<br>print(fruits[2])</p><h4>Output</h4><p>Apple<br>Banana<br>Orange</p><h4>Tuple Methods</h4><p>Unlike lists, tuples have only two commonly used methods.</p><h3>count()</h3><p>Returns how many times an item appears.</p><p>numbers = (1, 2, 2, 3, 2)</p><p>print(numbers.count(2))</p><h4>Output</h4><p>3</p><h3>index()</h3><p>Returns the index of an element.</p><pre>fruits = (&quot;Apple&quot;, &quot;Banana&quot;, &quot;Orange&quot;)<br><br>print(fruits.index(&quot;Banana&quot;))</pre><p>Output</p><p>1</p><h3>Difference Between List and Tuple</h3><h4>List</h4><p>Mutable</p><p>Uses []</p><p>Can add/remove items</p><p>More flexible</p><h4>Tuple</h4><p>Immutable</p><p>Uses ()</p><p>Cannot change items</p><p>Faster for fixed data</p><h4>Real-World Example</h4><p>Suppose you want to store a person’s date of birth. Since it never changes, a tuple is a good choice.</p><p>dob = (13, “March”, 2005)</p><p>print(dob)</p><h4>Conclusion</h4><p>Python tuples are an efficient way to store fixed collections of data. They are lightweight, fast, and protect data from accidental modification. Understanding tuples will help you choose the right data structure for different programming tasks</p><h4>If you found this article helpful, follow me on Medium for more beginner-friendly Python tutorials.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26eaed30f1f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Lists Explained for Beginners (With Examples)]]></title>
            <link>https://medium.com/@glowrituals12/python-lists-explained-for-beginners-with-examples-2277e77fa5f4?source=rss-045d31be598d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2277e77fa5f4</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Jephy Joseph]]></dc:creator>
            <pubDate>Wed, 29 Jul 2026 04:46:58 GMT</pubDate>
            <atom:updated>2026-07-29T04:46:58.739Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is one of the easiest programming languages to learn, and lists are one of its most powerful data structures. Lists allow you to store multiple values in a single variable and are used in almost every Python program. In this article, you’ll learn what Python lists are, how to create them, and the most commonly used list operations with simple examples.</p><h3>What is a Python List?</h3><p>A Python list is an ordered, mutable collection that can store multiple items in a single variable. A list can contain different data types, including integers, strings, floating-point numbers, and even other lists.</p><h3>Example</h3><pre>fruits = [&quot;Apple&quot;, &quot;Banana&quot;, &quot;Orange&quot;]<br><br>print(fruits)</pre><h3>Output</h3><p>[‘Apple’, ‘Banana’, ‘Orange’]</p><p>Lists are created using square brackets ([]), and each element is separated by a comma.</p><h3>Why Use Python Lists?</h3><p>Python lists are useful because they allow you to:</p><ul><li>Store multiple values in one variable.</li><li>Access elements using an index.</li><li>Add or remove items easily.</li><li>Iterate through data using loops.</li><li>Organize related information efficiently.</li></ul><h4>Creating a List</h4><p>numbers = [10, 20, 30, 40, 50]</p><p>print(numbers)</p><h4>Accessing List Elements</h4><p>You can access list elements using their index. Python uses <strong>zero-based indexing</strong>, which means the first element has an index of 0.</p><h4>Example</h4><p>fruits = [“Apple”, “Banana”, “Orange”]</p><p>print(fruits[0])<br>print(fruits[1])<br>print(fruits[2])</p><h4>Output</h4><p>Apple<br>Banana<br>Orange</p><h4>Adding Items to a List</h4><p>The append() method adds a new element to the end of a list.</p><h4>Example</h4><p>fruits = [“Apple”, “Banana”]</p><p>fruits.append(“Orange”)</p><p>print(fruits)</p><h4>Output</h4><p>[‘Apple’, ‘Banana’, ‘Orange’]</p><h4>Removing Items from a List</h4><p>You can remove items from a list using the remove() method.</p><h4>Example</h4><p>fruits = [“Apple”, “Banana”, “Orange”]</p><p>fruits.remove(“Banana”)</p><p>print(fruits)</p><h4>OUTPUT</h4><p>[‘Apple’, ‘Orange’]</p><h4>Common List Methods</h4><p>Here are some of the most commonly used Python list methods:</p><p>append()Adds an item to the end of the list</p><p>insert()Inserts an item at a specific position</p><p>remove()Removes a specific item</p><p>pop()Removes an item by index</p><p>sort()Sorts the list</p><p>reverse()Reverses the list</p><p>len()Returns the number of items</p><h4>Real-World Example</h4><p>Imagine you’re building a shopping app. Every time a user adds a product to their cart, Python can store it in a list.</p><h4>EXAMPLE</h4><p>cart = [“Laptop”, “Mouse”]</p><p>cart.append(“Keyboard”)</p><p>print(cart)</p><h4>OUTPUT</h4><p>[‘Laptop’, ‘Mouse’, ‘Keyboard’]</p><p>Lists make it easy to manage collections of data in real applications</p><h4>Conclusion</h4><p>Python lists are one of the most important data structures in Python. They are simple to use, flexible, and essential for solving programming problems. By understanding how to create, access, add, and remove items from lists, you’ll build a strong foundation for learning more advanced Python concepts such as dictionaries, sets, and object-oriented programming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2277e77fa5f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>