<?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 Maheshwarikolpur on Medium]]></title>
        <description><![CDATA[Stories by Maheshwarikolpur on Medium]]></description>
        <link>https://medium.com/@maheshwarikolpur98?source=rss-531dcecdef2e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XDppnkV4TVsAaGu7</url>
            <title>Stories by Maheshwarikolpur on Medium</title>
            <link>https://medium.com/@maheshwarikolpur98?source=rss-531dcecdef2e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:01:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maheshwarikolpur98/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[TYPE CONVERSION]]></title>
            <link>https://medium.com/@maheshwarikolpur98/type-conversion-f8a3c3d8e127?source=rss-531dcecdef2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8a3c3d8e127</guid>
            <category><![CDATA[string-and-string-methods]]></category>
            <dc:creator><![CDATA[Maheshwarikolpur]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 13:20:41 GMT</pubDate>
            <atom:updated>2026-11-25T13:20:41.835Z</atom:updated>
            <content:encoded><![CDATA[<p>Type conversion is a technique by using which we can convert a type of the data from one type to another type.</p><p>There are 2 types</p><p><strong>Implicit</strong>: whenever the type conversion is done by python engine automatically</p><p>python will give first preference 1) complex 2) float 3) int</p><p><strong>Example</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/0*_MmPCcaBR5Z0beSs.png" /></figure><p><strong>Explicit</strong>: when program forcefully convert type one type to another type</p><p>In explicit type conversion, we are having some tools. These tools are having a special name. It is called constructor.</p><p>For every data type we need to learn constructor. we can build the constructor. every constructor is going to construct something. Here we can change the form one type to another type.</p><p><strong>first constructor 1) int (): </strong>integer constructor will construct integer valu. either int data or float data it will take the integer data.</p><p><strong>Example</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EMh1tqhrAljNVcg4.png" /></figure><p><strong>2) float (): </strong>float constructor will construct the float value only from integer not from complex.</p><p><strong>example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cJz6e9PApP6SYD0-.png" /></figure><p><strong>3) complex: </strong>complex construct will always construct complex value from integer, from float,from complex.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/0*dpzeKlh2-liwXVCa.png" /></figure><p><strong>2) STRING: </strong>string is a collection of characters/elements (like numbers,alphabets,special characters) or</p><p>string is a sequential data. enclosed with single /double/triple quotes.</p><p>string is a immutable data. we can’t change the data</p><p><strong>Examples:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*I-o2CdGAlp_2dKaYxD19Sw.png" /></figure><p><strong>STRING METHODS: 1) lower ()</strong></p><p>lower () is a string method. it is used to convert all the uppercase characters into lower case.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*b-I8IIRLyM9nKd4hTmG46w.png" /></figure><p><strong>2) upper: </strong>upper () is a string method. it is used to convert all the lowercase characters into uppercase.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*DVaXjsHupOnUW5-YJ9O1JQ.png" /></figure><p><strong>3) swap (): </strong>it is a string method. it is used to convert uppercase to lowercase and lowercase to uppercase and rest of the characters will be ignored.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*r2HBqkhMWkc5UENZTMFupQ.png" /></figure><p><strong>4) capitalize (): </strong>it is used to convert the first character into upper case and rest of the characters into lower case.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*CipRv2uikCLlFMQ13J1sGQ.png" /></figure><p><strong>5) title: </strong>it is a string method. it is used to convert the first character of a word inside a string into upper case and rest of the characters of the word into lower case.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*Xclp31Pow28bQYVvhKzFcA.png" /></figure><p><strong>6) count (): </strong>it is used to count how many times a specific character occurs in a string</p><p>string travels left to right</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0EMIpD1xh5vcuDPwP5t_4g.png" /></figure><p><strong>7) index (): </strong>is used to find the index value of a substring in a string.</p><p>it is occuring at the first occurence</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*bLKTyeOOZD6V3crUm6FATQ.png" /></figure><p><strong>8) rindex (): </strong>it returns index position of the last occurrence of a specified character. search from right to left. if not found it will give value error</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*8809wGxE8ek2mkQs0NvdGQ.png" /></figure><p><strong>9) find (): </strong>it is used to find the index value of a substring</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*MUiU37jETf2Zz1QWmTqlCw.png" /></figure><p><strong>10) rfind (): </strong>it returns index position of the last occurence of a specified character. if not found it will give -1</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*QAlQAaa3QiFhYxq-DgmXDA.png" /></figure><p><strong>11) strip (): </strong>it also gives substring. we can remove the characters in a substring from the beginning and the end of the string.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*7CfjxjvudKQbSAB27GCCWA.png" /></figure><p><strong>12) lstrip (): </strong>it is used to remove spaces from the left side of a string.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*mBe5beqZzPD9aW1N0YSF1Q.png" /></figure><p><strong>13) rstrip (): </strong>it is used to remove spaces from the right side of a string.</p><p><strong>Example:</strong></p><p><strong>14) split (): </strong>it is used to split the entire string into substring. splits from left side</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_5rdixczqw900LxPXOFW-Q.png" /></figure><p><strong>15) rsplit (): </strong>it is used to split a string into a list of the substring from the right side</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*RV31YcYxWdMDRIf5Ou3GQw.png" /></figure><p><strong>16) replace (): </strong>we can replace any character inside a string with other character</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*dK94cxHEQgrLMNBMI8_zIA.png" /></figure><p><strong>17) isupper (): </strong>it is a string method. it is used to check if all characters are in uppercase. then it will give true otherwise false</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*6rFKPwchxuSD511DKAA8xg.png" /></figure><p><strong>18) islower (): </strong>it is used to check if all the characters are in lowercase, then it will give true otherwise false</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*fSPqBwJQ8vErOb7u29W2kw.png" /></figure><p><strong>19) istitle (): </strong>first character is upper. rest of the characters should be lower, then it will give true otherwise false.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*7AhS9CtZPO-Uhb3VwQgPNw.png" /></figure><p><strong>20) isdigit (): </strong>it will return true if all the characters/elements inside a string between 0–9</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*tmYxFSw1ZTKjuKRmewXrtA.png" /></figure><p><strong>21) isalpha(): </strong>inside a string if every character is alphabet, then it will give true otherwise false</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9nRLIWKBOFtaS5mnfg-54w.png" /></figure><p><strong>22) isalnum (): </strong>inside a string having both numbers and alphabets then it will give true but if we find special symbol it will give false</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*SynvTStWITbfwChAI0ARFw.png" /></figure><p><strong>23) isidentifier(): </strong>checks whether a string is a valid python identifier</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*NIlF6dGYr9SI0MjfvsQKxA.png" /></figure><p><strong>24) startswith(“str”): </strong>it checks whether a string starts with a particular word or character</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*_CMKBpI293UwUj_y2zfiRQ.png" /></figure><p><strong>25) endswith(): </strong>checks whether a string ends with a particular word or character</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*_dAPP6_28Xe96ZbiPj4xSg.png" /></figure><p><strong>26) isspace(): </strong>checks whether all characters in a string are spaces (empty spaces)</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*bqjF6xtVFJoBWTrBzH85NA.png" /></figure><p><strong>27) partition (“separator or condition”): </strong>splits a string into parts based on a condition. splits from left to right</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*F25D9kZWT7BFLXBWWg4dog.png" /></figure><p><strong>28) rpartition(): </strong>splits a string into parts from right to left</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*iJjBOLMECrvMePpIktkmfA.png" /></figure><p><strong>29) len(): </strong>it returns total number of characters in a string. it counts characters. it gives type error</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*739KC5FFL60xa2QjxwekUw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8a3c3d8e127" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TYPE CONVERSION]]></title>
            <link>https://medium.com/@maheshwarikolpur98/type-conversion-23b0209b16f2?source=rss-531dcecdef2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/23b0209b16f2</guid>
            <category><![CDATA[type-conversion]]></category>
            <dc:creator><![CDATA[Maheshwarikolpur]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 17:18:07 GMT</pubDate>
            <atom:updated>2026-11-22T17:18:07.965Z</atom:updated>
            <content:encoded><![CDATA[<p>TYPE CONVERSION</p><p>Type conversion is a technique by using which we can convert a type of the data from one type to another type.</p><p>There are 2 types</p><p><strong>Implicit</strong>: whenever the type conversion is done by python engine automatically</p><p>python will give first preference 1) complex 2) float 3) int</p><p><strong>Example</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*H3YHIOIbpDvsorPxNH76aA.png" /></figure><p><strong>Explicit</strong>: when program forcefully convert type one type to another type</p><p>In explicit type conversion, we are having some tools. These tools are having a special name. It is called constructor.</p><p>For every data type we need to learn constructor. we can build the constructor. every constructor is going to construct something. Here we can change the form one type to another type.</p><p><strong>first constructor 1) int (): </strong>integer constructor will construct integer valu. either int data or float data it will take the integer data.</p><p><strong>Example</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lD4R1HwQ056_bM0_PouHAQ.png" /></figure><p><strong>2) float (): </strong>float constructor will construct the float value only from integer not from complex.</p><p><strong>example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CIqRuLsnaBuE8xKwV6R87A.png" /></figure><p><strong>3) complex: </strong>complex construct will always construct complex value from integer, from float,from complex.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*a9Z_scbNKuI_-vmwQy_k9g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23b0209b16f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Syntax]]></title>
            <link>https://medium.com/@maheshwarikolpur98/python-syntax-9a3ed8151991?source=rss-531dcecdef2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a3ed8151991</guid>
            <category><![CDATA[python-syntax]]></category>
            <dc:creator><![CDATA[Maheshwarikolpur]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 02:46:38 GMT</pubDate>
            <atom:updated>2026-11-21T02:46:38.183Z</atom:updated>
            <content:encoded><![CDATA[<p>python syntax is a set of rules. It defines how python code should be written and structured.</p><p>example:</p><p>print(“Hello World”)</p><p>Output: Hello World</p><p><strong>Important rules of python syntax</strong></p><p>indentation : it is giving spaces at the beginning of the line.it defines blocks of code.</p><p>Case Sensitive: Python is a case sensitive. it supports capital and small letters.</p><p>Example:</p><p>name: “Maheshwari”</p><p>Name: “Python”</p><p>Comments: it is used to explain the code. it is using # symbol. Python does not execute comments.ignored by python engine. It supports single line comments. python does not support multiple line comments.</p><p>Example: print(“Maheshwari”) # this is a comment</p><p>Variable: it is a name. used to store a value in memory</p><p>Example:</p><p>name = “ Maheshwari”</p><p>age = 25</p><p>Marks = 89</p><p>here name, age and marks are variables, Maheshwari, 25 and 89 are values.</p><p>Statements: set of instructions which python engine is execute.</p><p>there are 4 types</p><p>they are:</p><p>1) Single statement in single line: writing one statement in one line</p><p>a = 10</p><p>print(a)</p><p>2)multiple statement in a single line: writing more than one statement in a single line.</p><p>a = 10; b = 20; print(a+b)</p><p>3)single statement in a multiple lines: writing one statement across multiple lines. We can use paranthesis() to continue a statement across multiple lines.</p><p>total = (</p><p>20+30+15</p><p>)</p><p>print(total)</p><p>it is using two methods</p><ol><li>backslash (\)</li><li>forward slash (/)</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a3ed8151991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working Of Python Engine]]></title>
            <link>https://medium.com/@maheshwarikolpur98/working-of-python-engine-b7b74d8a1d6e?source=rss-531dcecdef2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7b74d8a1d6e</guid>
            <category><![CDATA[python-engine]]></category>
            <dc:creator><![CDATA[Maheshwarikolpur]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 02:14:12 GMT</pubDate>
            <atom:updated>2026-11-21T02:14:12.802Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is a procedural and object oriented programming language: You can write step-by-step code with functions (procedural), or organize code into classes and objects (OOP).</p><p>Simple syntax: Python reads almost like English, for example print(“Hello”).</p><p>Length of code very small: compared to other programming languages like Java or C, c++ and java.</p><p>Complex problems can be solved in a simple manner: libraries handle the hard parts, so you write less logic.</p><p>Easy to learn and understand: rules are few and the code is readable, so beginners can start quickly.</p><p>Python extension is .py: For example, hello.py.</p><p>Python is a flexible, scalable and portable: It is used for small scripts and large systems, and the same code runs on Windows, Linux and Mac. We can run different operating systems</p><p>Python is a interpreted language: interpreter runs your code line by line, with no separate compile step</p><p>Python supports single line and multi line statements: Use # for a single-line comment, and \ or brackets to continue a statement over several lines.</p><p>Python uses indentation to define blocks of code: Python uses spaces</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7b74d8a1d6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working Of Python Engine]]></title>
            <link>https://medium.com/@maheshwarikolpur98/working-of-python-engine-b9fcdb3cc722?source=rss-531dcecdef2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9fcdb3cc722</guid>
            <category><![CDATA[python-engine]]></category>
            <dc:creator><![CDATA[Maheshwarikolpur]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 03:05:37 GMT</pubDate>
            <atom:updated>2026-11-17T03:05:37.459Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is a procedural and object oriented programming language</p><p>Simple syntax</p><p>Length of code very small</p><p>Complex problems can be solved in a simple manner</p><p>Easy to learn and understand</p><p>Python extension is .py</p><p>Python is a flexible, scalable and portable</p><p>Python is a interpreted language</p><p>Python supports single line and multi line statements</p><p>Python uses indentation to define blocks of code</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9fcdb3cc722" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>