<?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 Dhileep Munige on Medium]]></title>
        <description><![CDATA[Stories by Dhileep Munige on Medium]]></description>
        <link>https://medium.com/@dhileep8795?source=rss-dc906f5848b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OwwZufCqDJAw4giJJSsaog.jpeg</url>
            <title>Stories by Dhileep Munige on Medium</title>
            <link>https://medium.com/@dhileep8795?source=rss-dc906f5848b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:25:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dhileep8795/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[Basics of Python]]></title>
            <link>https://medium.com/@dhileep8795/basics-of-python-4cc26ff611da?source=rss-dc906f5848b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cc26ff611da</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[basics]]></category>
            <dc:creator><![CDATA[Dhileep Munige]]></dc:creator>
            <pubDate>Fri, 30 Jul 2021 10:06:20 GMT</pubDate>
            <atom:updated>2021-07-30T10:06:20.398Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is a high level language and supports object oriented programming concepts. It has rich libraries for data science, machine learning, AI, Application development and many more..</p><p>Python is an interpreting language, unlike java or C++, Code won’t be compiled, before executing. In python, code execution starts from top to bottom.</p><p>Declaration of variables in python</p><p>Name of the variable = Value of the variable ( mentioning data type is optional)</p><p>E.g: school_name= ‘Ushodaya High School’ or</p><p>school_name : str= ‘Ushodaya High School’</p><p>Data types available in python are int, str, float and so on</p><p>Collections in Python :</p><p>list, set, tuple, dictionary</p><p>list — it is collection of both homogenous and heterogenous elements</p><p>e.g: list_name=[ ‘sample’,2,’sample2&#39;,79]</p><p>can also mention data type as list like below</p><p>list_name :list=[‘sample’,2,’sample2&#39;,79]</p><p>most commonly used methods in python are append, len, slicing.</p><p>set: it is unordered list of both homogenous and heterogenous elements and it cannot have duplicates. denoted by {}</p><p>e.g: set_name= {‘hello’,’harish’,40}</p><p>tuple:</p><p>it is similar to list but cannot make modifications to tuple after declaring it with some values. denoted by ()</p><p>e.g: tuple_name=(‘hello’,’hai’,’namaskar’)</p><p>if we try to add a new value at end of the above tuple or try to replace or remove an element from above tuple then , the code with throw error</p><p>Dictionary:</p><p>It is the most important concept in python</p><p>Dictionary is collection of elements in keys ,values format.</p><p>e.g: dict_name={‘key1’:’value1&#39;,’key2&#39;,’value2&#39;}</p><p>keys cannot have duplicate values , keys should be unique</p><p>but values can have duplicate values</p><p>some of the most used operations on dict are as follows</p><p>sample_dict={‘fav_clr’:’orange’,’fav_sport’:’hockey’,’fav_animal’:’lion’}</p><p>to fetch the value by key there are two ways</p><ol><li>sample_dict.get(‘fav_clr’) .. if fav_clr key not present in dictionary then , it returns none</li><li>sample_dict[‘fav_clr’].. if fav_clr key is not present then the code throws the error</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cc26ff611da" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>