<?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 Ashokdeva on Medium]]></title>
        <description><![CDATA[Stories by Ashokdeva on Medium]]></description>
        <link>https://medium.com/@ashokdeva8200?source=rss-f7c4e9e7567c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rGYOSLuk01nfAxw6</url>
            <title>Stories by Ashokdeva on Medium</title>
            <link>https://medium.com/@ashokdeva8200?source=rss-f7c4e9e7567c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 02:31:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashokdeva8200/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[Data Type Conversion & String, String Methods]]></title>
            <link>https://medium.com/@ashokdeva8200/dta-type-conversion-635afdd87694?source=rss-f7c4e9e7567c------2</link>
            <guid isPermaLink="false">https://medium.com/p/635afdd87694</guid>
            <category><![CDATA[string-methods]]></category>
            <category><![CDATA[data-type-conversion]]></category>
            <category><![CDATA[string]]></category>
            <dc:creator><![CDATA[Ashokdeva]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 12:31:13 GMT</pubDate>
            <atom:updated>2026-11-16T18:28:31.562Z</atom:updated>
            <content:encoded><![CDATA[<p>This technique is used to convert one type data to another type data is called data type conversion.</p><p>there are two types of data types they are:</p><ol><li>Implicit data type:</li></ol><p>This data type conversion is automatically done by python engine is known as implicit data type conversion.</p><p>and <strong>there will be no change in data type values.</strong></p><p>this data type conversion rule is importance:</p><p>complex</p><p>float</p><p>integer</p><p>2.Explicit data type:</p><p>This data type conversion is forcefully done by programmers is known as explicit data type conversion.</p><p>In this conversion we have 3 tools called constructors they are:</p><ol><li>int( ) constructor</li></ol><p>it constructs integer and float values</p><p>2. float( )</p><p>it constructs float and integer values</p><p>3. complex( )</p><p>it constructs integer, float and complex values</p><p>and <strong>there is a chance to change(difference) in data type values</strong> because this data type conversion forcefully converted by programmer.</p><h3>We have one more important data type is called <strong>String data type</strong></h3><p>string is a sequential data type</p><p>sequence of characters/elements present inside a single/double/triple quotes is called string</p><p>characters are:</p><ol><li>alphabets (a-z, A-Z)</li><li>numbers (0–9)</li><li>special symbols</li></ol><p>string data represent textual data</p><p>string short form is str</p><h3><strong>Properties of String:</strong></h3><ol><li>Sequential data</li><li>Immutable data</li></ol><p>Immutable means when we can’t perform these 3 actions those are:</p><p>Once created data… then,…</p><ol><li>we can not add new element/character to the data,</li></ol><p>2. we can not replace existing data and</p><p>3. we can not delete the existing data….</p><p>if we can perform these above 3 actions then it is known as mutable data…</p><h3><strong>Now we can see string methods:</strong></h3><p>we have 30-32 string methods</p><ol><li>lower( )</li></ol><p>is used to convert all the upper case characters to lower case and other characters are ignored.</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*7fQpqGNqHfpPKVMautpuqQ.png" /></figure><p>2. upper( )</p><p>is used to convert all lower case characters into upper case and other characters are ignored</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*rSS8pdK3uRZRYCdbWa_xDQ.png" /></figure><p>3. swap case( )</p><p>converting combination of lower and upper case characters and other characters are ignored</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*9UlEWPsOqqavegklKAdWRQ.png" /></figure><p>4. capitalize( )</p><p>is used to convert the first character into upper case and rest or the characters into the lower case</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*OxEGiRTOJ1bcEEfxYjyBgw.png" /></figure><p>5. title( )</p><p>is used to convert the every first character of a word into upper case in a string and rest of the characters of the word into lower case and rest of the characters will be ignored</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*vlxJ6LbmyM50jK6Q8K9q-w.png" /></figure><p>6. count( )</p><p>is used to count any specific character or element occured how many times in a string</p><p>from left to right</p><p>output in integer data type….</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*jYg1A-v37_WL-1bZ7vI--w.png" /></figure><p>7. index( )</p><p>is used to give you the index value of a substring occuring at the first occurance of python</p><p>from left to right</p><p>integer values</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*WJMUSRz2Kkv1q5Snr-1dSg.png" /></figure><p>8. find ( )</p><p>index ( ) and find ( ) both are almost same… find showing error is -1 and index error showing value error</p><p>count, find, index : supports starting and ending index</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*0jc4W4o4OMonW0wXdnoGCQ.png" /></figure><p>9. strip ( )</p><p>by using this which we can remove characters in the substring from the beginning and the end of the string</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*WUmJzZ_J7DglPufowQUKug.png" /></figure><p>10. lstrip ( )</p><p>by using this we can strip left side only</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*AmeNBsFLP7hnH8_TOVP4cQ.png" /></figure><p>11. rstrip ( )</p><p>by using this we can strip right side only</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*Ha9CSpw4HElbKmwtxXNcOg.png" /></figure><p>12. split ( )</p><p>by using this which we can divide or split an entire string into substrings</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*F3ujH_I0zkB2s1bNp7OT3A.png" /></figure><p>13. rsplit ( )</p><p>by using this method we can split or divide only right side</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*n1LEuBG8egQUtsgeKIzgWQ.png" /></figure><p>14. replace ( )</p><p>by using this method we can replace any character or sequence of characters inside a string with other characters</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*O0ZXxY3CVEHRrPlK-oD-wg.png" /></figure><p>15. rfind ( )</p><p>by using this method we can find characters only from right side</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*xK2-cTg06AhjwmB4wCa1wQ.png" /></figure><p>16. rindex ( )</p><p>by using this method we can give index values from right side only</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*VbS1qc__qxE0wuWOdo3lMw.png" /></figure><p>17. isupper ( )</p><p>by using this method we can check if all alphabets are in uppercase or not in a string.. like true or false</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*a8RpZt-8_yHq05U-ae3N7Q.png" /></figure><p>18. islower ( )</p><p>by using this method we can check if all alphabets are in lowercase or not in a string.. like true or false</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*c7zGzGfXDNT44Xp3arbaRQ.png" /></figure><p>19. istitle ( )</p><p>by using this method we can check if it is follows title ( ) string method or not</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*WpqcHTacB5vwb9JIBXLDvA.png" /></figure><p>20. isdigit ( )</p><p>by using this method we can check numbers are there or not in our string data</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*vSYe4XM-ROkxtENTawcgfA.png" /></figure><p>21. isalpha ( )</p><p>by using this method we can check alphabets are there or not in our string</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*bucuVdkuhJ_bxzitM1owQw.png" /></figure><p>22. isalnum ( )</p><p>by using this method we can check in our string alphabet and numbers are there or not</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*3piZMW178tjmn8gjbRk8Wg.png" /></figure><p>23. isidentifier ( )</p><p>this method is completely about following variable naming convention rules… if our string follows it will be true… if our string not follows it will be false</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*qcmozRO9imegqvJP_y3ciQ.png" /></figure><p>24. startswith ( )</p><p>it is a checking method which checks whether our string is starting with substring or element</p><p>return we get true or false</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*4yJJB6Jpow6qRBEClOGW6g.png" /></figure><p>25. endswith ( )</p><p>it is a checking method which checks whether our string is ending with substring or element</p><p>return we get true or false</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*K3QZQxv1HZnqr34GMfWEWg.png" /></figure><p>26. isspace ( )</p><p>it is going to check whether a string have space or not</p><p>Ex:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*MaJ80L6yeVnT7Xtllnj6Jw.png" /></figure><p>27. partition ( )</p><p>This method is spliting/dividing my string into exactly 3 parts</p><p>this also include separator</p><p>(“before value”, “separator value”, “after value”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*102BQN_7r1p5cYXNWCb--g.png" /></figure><p>28. rpartition ( )</p><p>It will split the string based on separator</p><p>from right to left</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*AOukZCbfOCJqEGyAQX6aFg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=635afdd87694" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Syntax]]></title>
            <link>https://medium.com/@ashokdeva8200/python-syntax-96771c57bccd?source=rss-f7c4e9e7567c------2</link>
            <guid isPermaLink="false">https://medium.com/p/96771c57bccd</guid>
            <category><![CDATA[python-syntax]]></category>
            <dc:creator><![CDATA[Ashokdeva]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 06:04:37 GMT</pubDate>
            <atom:updated>2026-11-13T06:04:37.696Z</atom:updated>
            <content:encoded><![CDATA[<p>syntax means rules…</p><p>statement means: instructions which python engine executes….</p><p>comment means: instruction which python engine ignores…</p><p>and comment symbol we can use #</p><ol><li>single statement in single line</li><li>multiple statements in multiple lines</li><li>multiple statements in single line but we have to use ;</li><li>single statement in multiple lines but we have to use \ and ( )</li><li>keywords : reserved words which have a special meaning in python engine and those are 35 keywords</li><li>variable: means python data storage file name</li></ol><h3><strong>Naming Convention:</strong></h3><ol><li>variable name should always starts with alphabet lower and upper case and under score (_)</li><li>variable name should not contain any special characters or symbols except under score (_)</li><li>variable name can contain numbers not as the first character</li><li>python is a case sensitive language, python thinks lower case and upper case are two different</li><li>never use keywords as a variable name</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96771c57bccd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Engine Working]]></title>
            <link>https://medium.com/@ashokdeva8200/python-engine-working-d1cd4bc91510?source=rss-f7c4e9e7567c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1cd4bc91510</guid>
            <category><![CDATA[working-of-python-engine]]></category>
            <dc:creator><![CDATA[Ashokdeva]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 18:50:20 GMT</pubDate>
            <atom:updated>2026-11-11T18:52:35.633Z</atom:updated>
            <content:encoded><![CDATA[<h3>Now we can see how python engine Works….</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pwj3xUPiYy4VQeZ4a76KYA.jpeg" /></figure><p>when we write source code to run python programming language code</p><p>first step….</p><p>we have to give source code then we have to click run button…</p><p>second step..</p><p>then source code checks with syntax checker…</p><p>third step..</p><p>then if no syntax error then our source code go to next step that we can see in fourth step….</p><p>fourth step…</p><p>our source code checks with compiler…</p><p>fifth step….</p><p>if no error occurs then compiler gives bytecode….</p><p>sixth step…</p><p>if bytecode no error occurs then byte code checks with interpreter which is in python virtual machine (PVM)</p><p>seventh step…</p><p>in pvm if no error occurs then interpreter gives low level code (LLC)</p><p>then our python engine work will be complete…</p><p>after that we get machine code and it gives output on screen….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1cd4bc91510" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>