<?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 Akshayachitti on Medium]]></title>
        <description><![CDATA[Stories by Akshayachitti on Medium]]></description>
        <link>https://medium.com/@akshayachitti19?source=rss-1856ee980f5b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*L5uGFrAG_UcXXxES</url>
            <title>Stories by Akshayachitti on Medium</title>
            <link>https://medium.com/@akshayachitti19?source=rss-1856ee980f5b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:16:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akshayachitti19/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[Types of Conversion in Python]]></title>
            <link>https://medium.com/@akshayachitti19/types-of-conversion-in-python-606a4c7c4ea3?source=rss-1856ee980f5b------2</link>
            <guid isPermaLink="false">https://medium.com/p/606a4c7c4ea3</guid>
            <dc:creator><![CDATA[Akshayachitti]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 13:12:17 GMT</pubDate>
            <atom:updated>2026-11-16T13:12:17.887Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Type conversion</strong></p><p>Type conversion is a technique by which we can convert data from one data type to another data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*_2o3pvD5SYfj3KfSOfdOkw.png" /><figcaption><strong>Two types of conversion</strong></figcaption></figure><ol><li><strong>Implicit Type Conversion</strong></li></ol><p>Implicit type conversion is when the python engine automatically converts one data type into another data type.</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*t54XY3mx6V3PQcQNeUinQQ.png" /></figure><p>Python automatically converts integer (10) to float (10.0) is called implicit type conversion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*36N7YyY1IH5LG5M3EyBIPA.png" /></figure><p>Python automatically converts the integer 3 into a complex number 3+0j.</p><p>Then it performs the addition:</p><p>(3+0j) + (2+3j) = (5+3j)</p><p>This is an example of Implicit type conversion(integer to complex)</p><p><strong>Explicit Type conversion</strong></p><p>Explicit type conversion is when the programmer manually converts one data type into another data type.</p><p><strong>Tools Used for Explicit Type Con version</strong></p><p>In python we use constructors to convert one data type into another data type.</p><p><strong>There are three important constructors:</strong></p><ol><li><strong>int() — —</strong> integer constructor will construct a integer value from a integer or float.</li></ol><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4XNXrDNlVCIJ4W3pIPpNLg.png" /></figure><p><strong>What is Type Error?</strong></p><p>Type error is whenever the programmer performing the logical mistakes on data type at that type are called type error.</p><p><strong>2. float() </strong>— — float constructor converts a value into float value.</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*7VuR9HZTiJt-Z9qQBqL2sg.png" /></figure><p><strong>3. Complex( ) — — complex constructor is a powerful constructor converts complex value from integer from float.</strong></p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*EVBN9Q-iGlDycoSSJKKS5Q.png" /></figure><p><strong>STRINGS AND THE STRING METHODS</strong></p><p><strong>What is String?</strong></p><p>String is a sequential data to represent the textual data.</p><p>A string is a sequence of characters/elements present inside a single ,double or triple quotes.</p><p><strong>Characters in a string:</strong></p><p>Alphabet: a-z, A-Z</p><p>Numbers:0–9</p><p>Special symbols:@,#,$,*, etc…</p><p><strong>Properties of string:</strong></p><ol><li>String is a sequential data.</li><li>string data is a immutable data.</li></ol><p><strong>What is immutable data?</strong></p><p>Immutable means we cannot change the existing string after creating it.</p><ol><li>Adding a new string.</li><li>Replace an existing string.</li><li>Deleting an existing data</li></ol><p><strong>String Methods</strong></p><p>String methods are bunch of methods which we can only apply on string methods.</p><p>30–32 types of string methods.</p><p><strong>How to apply a string method?</strong></p><p>We are going to use a symbol<strong>(.dot)</strong></p><p><strong>string. method( )</strong></p><ol><li><strong>LOWER STRING METHOD</strong></li></ol><p>Lower( ) is a string method that returns a new string by converting all the uppercase character to lower case character and other characters are ignored.</p><p><strong>Example 1:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*ozg4t5bJRTs5baT1-2lhPQ.png" /></figure><p><strong>Example 2:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*XDqzRN8YrnomHKd2DIT31g.png" /></figure><p><strong>Example 3:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*Q0dNM1elZjyYknoieBxl4Q.png" /></figure><p><strong>2. UPPER STRING METHOD</strong></p><p>Upper( ) is a string method converts lower case to upper case and other characters are ignored and returns a new string.</p><p><strong>Example 1:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*YKJbea_u0aqSN_PtcjcAyA.png" /></figure><p><strong>Example 2:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*GrskFVdefz0XnYTOtsM1Dw.png" /></figure><p><strong>Example 3:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/1*pk_0qiccVqsgfUU4RG4Mig.png" /></figure><p><strong>3. SWAP CASE( )</strong></p><p>Swap case( ) is string method used to convert upper case to lower casw and lower case to upper case and rest of the characters will ignored and returns a new string.</p><p>Previous method should return a string.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*E87UEgXMCx8dni8QdT7CAg.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*TgT-Fuz8hL7BGQC2ReEpJQ.png" /></figure><p><strong>Example 3:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*_eJJRkLCMNRw6F9z-wHw9Q.png" /></figure><p><strong>4. CAPITALIZE( )</strong></p><p>It is a string method used to convert the first character/element into upper case and rest of the character into lowercase. Returns in a new string.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*3KrmZs4ijOt17YOuyOsHgw.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*2rwVXRlYD1ycfWJJ2ZvkbQ.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*nYb--obUJ_fHlF03eRNDkA.png" /></figure><p><strong>5.TITLE</strong></p><p>Title is a string method which is used to convert the first character of a word inside a string into upper case and rest of the character of the word into lower case and rest of the character will be ignored. Word is sequence of alphabet.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*ppSSFfdv87V4sAgenh8kFw.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*eVud4ql8D0a0XI-wnYc4RA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*RKwjqECuVvmOToxhE5rLmw.png" /></figure><p><strong>6.COUNT</strong></p><p>Count is a string method used to count a specific character occured how many times in a string travel from left to right.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*VnKJTvQBXleh7AcOGFmTmw.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*g0PYHIHNrTOWi4GdoEi1pA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*PF-yhEtDyGzWr09F-6ETRQ.png" /></figure><p><strong>7. INDEX( )</strong></p><p>Index is a string method used to give the index value of a substring occurring at the first occurrence python engine moves from left to right.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*fAJ69r7Yr8_ti6_zIhy0yg.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*ELCsqQazfonSJs-goQW9eA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*vcc7YvOE_8d7x5cNNQX-qw.png" /></figure><p><strong>8.FIND ( )</strong></p><p>Index is string method used to give the index value of substring occurring at the first occurrance python engine left and right.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*XN51sKEBkc8t6cYRO8lydQ.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*7BKELUsqvDsTqq5Fklkn6w.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*lkT6ZiEufSZ8fyhfUJSBJQ.png" /></figure><p><strong>9. STRIP( )</strong></p><p>Strip is string method which we can remove characters in the substring from the beginning and the end of the string.</p><p><strong>Example 1:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*DSOkGIXI06qymNjaGAFrIA.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*HFte5Ug8IUJFeqsg5GCi5Q.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/1*Y8xTaU_HMtzQlNNJ4XeFxg.png" /></figure><p><strong>10. lstrip</strong></p><p>which will remove character from the beginning.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*6tbEJAffAlguZslC0zdsIg.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*Og1PrEEz4bH0VKlQYDLrHg.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*GUvabu6dTow0yqHU1zmGjw.png" /></figure><p><strong>11. rstrip</strong></p><p>Which will remove character from the ending.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*OJmz8FFMmbwPG0js6y9Ofg.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*k7QCkDYX45lnAt9uljqaFA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*ReNRvvnNJlst9Ri5BBYX9A.png" /></figure><p><strong>12. split</strong></p><p>Spilt is a string method using which we can divide/split and entire string into substring.</p><p>max split is a string method by using which we can divide/split .</p><p>decide=how many times we need to split.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*gx2HcfGrYjux1cl3BU3RgQ.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*FvJ_09jNUHhDFkLZS4Q9pQ.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*XCSgaecJ2cigqxhvXMg6vg.png" /></figure><p><strong>13. r spilt</strong></p><p>r spilt will split the values from ending to starting.</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*R9vNucFb4KKM4bLyZ5nDvg.png" /></figure><p><strong>14. REPLACE</strong></p><p>Replace is a string method where we can replace any character or a sequence of character inside a string with other character.</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*F87NMr2Isag6sAopeJLV6g.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*uAD0Yt86QZRoQfmy3NSTAA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*Z8GT5gX08Gk4vS-y3gz4Lg.png" /></figure><p><strong>15. rfind</strong></p><p>r find search for the first occurrence from right to left.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*4SthcIVbqPWX2Egs2wGzmA.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*STHf8aqyN7EHAiB0zEi_fA.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*Ap9CV8zQAO4IdJhVW0reBg.png" /></figure><p><strong>16. r index</strong></p><p>r index search for the first occurrence from right to left.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*aK5JaFKz8PUeSNAVW83_EA.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*cWDdEXqNAwklRF__AaUIdQ.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/1*CSqKJyXsLjVggmgTrJVjvQ.png" /></figure><p>17.<strong> is upper</strong></p><p>is upper is a string method which used to check if all the alphabets are in upper case.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*ETNJx-6fzjzAuDQzLuS0fA.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*kjEi0yRRR8Ore9YPWvhz0A.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*LLa-9iUvH8mvrCv7w_2V0w.png" /></figure><p><strong>18. is lower</strong></p><p>is lower is a string which is used to check if all the alphabets are in lower case.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*sVQyWROzqVE7wg_gI1Sy3w.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*NRQGQ-efiCrepVS4yURa6g.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/1*onk6fPBl7lD-7AiHvmW1sg.png" /></figure><p><strong>19. is title</strong></p><p>is title is a string method used to convert the first character of a word inside a string into upper case and rest of the character of the word into lower case and rest of the character will be ignored.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-l9-WH5QpmmViYg7a_REGQ.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*NuII5GqzNVXRit-xEc9I8A.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*2bP2M-Gte-feAiwaE2VB0A.png" /></figure><p><strong>20. is digit</strong></p><p>is digit is a string method .if the string contains only digits, it returns true.</p><p>If the string contains alphabets, spaces,or special characters, it returns false.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*s8VPpmIv6hBcfwOnLwTAPg.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*GS981eda19J0UeQrVp7vVg.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*D-PiYzN3_UvVLmRFZxW3cQ.png" /></figure><p><strong>21. is alpha</strong></p><p>is alpha is string method. if the string contains only alphabets ,it returns true.</p><p>if the string numbers, special numbers it contains false.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*Amvezgwex0sZRO0p87JwNQ.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*5EZooVUZDcbvTO6KV0Nlgw.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*VcwvUhIaXB1YwLxQjoypww.png" /></figure><p><strong>22. is alnum</strong></p><p>It is a string method. if the string contains numbers and alphabets it returns true.</p><p>if the string contain special symbols it returns false.</p><p><strong>Example 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*9wm0Ov66JV-MRp5EY7_sIw.png" /></figure><p><strong>Example 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*nf9zZ5M1GswXO0PhIYYRtQ.png" /></figure><p><strong>Example 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*xJ5NqEaO46MauP9DqMUrsA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=606a4c7c4ea3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Syntax]]></title>
            <link>https://medium.com/@akshayachitti19/python-syntax-f7efeed31ddf?source=rss-1856ee980f5b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7efeed31ddf</guid>
            <category><![CDATA[python-syntax]]></category>
            <dc:creator><![CDATA[Akshayachitti]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 13:43:19 GMT</pubDate>
            <atom:updated>2026-11-13T13:43:19.411Z</atom:updated>
            <content:encoded><![CDATA[<p>Python syntax are the rules which every python programmer has to follow while writing the instruction.</p><p>If you don’t follow the instructions, it will get an error,that error is called syntax error.</p><p><strong>Statement</strong></p><p>Statement is a instruction which our python engine can execute.</p><p><strong>Types of statements in python</strong></p><ol><li><strong>Single statement in single line</strong></li></ol><p>One statement in one line</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/237/1*lCTkvSouUe05HPrc0FrN7Q.png" /></figure><p><strong>2. Multiple statements in single line</strong></p><p>We can write multiple statements in single line by using the symbol <strong>semicolon ;</strong></p><p><strong>Example: Without using semicolon</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*_5LcYRKR9xduvejxuu3gng.png" /><figcaption><strong>without using semicolon</strong></figcaption></figure><p><strong>Example: With using semicolon</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*CT4P5FZPMfCA5zH_jn8HzA.png" /><figcaption><strong>With using semicolon</strong></figcaption></figure><p><strong>3. Single statement in multiple lines</strong></p><p>We can write single statement in multiple lines by using the symbol <strong>backslash(\) or parentheses(()).</strong></p><p><strong>Example: Whenever you want to break the statement then use backslash</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*79YGPGNH3gaM3fRdYJ21Lg.png" /><figcaption><strong>using backslash</strong></figcaption></figure><p><strong>Example: Using parentheses</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*LR4Jx-e2wG5F1abXCMDyRQ.png" /></figure><p><strong>What is comment</strong></p><p>Comment is a instruction will be ignored by python engine.</p><p>Whenever, we are writing any instruction in python programming language always python think entire instruction is statement.</p><p><strong>Use the symbol # hash to write the comment.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*ICb3HV8EeoGiopOevcVxyg.png" /></figure><p><strong>What is keywords</strong></p><p>Keywords are reserved words that have special meanings in python.</p><p><strong>Example: if,else,for etc</strong></p><p><strong>Variables in python</strong></p><p><strong>What is variable?</strong></p><p>A variable is a container used to store data in python .</p><p><strong>What is data?</strong></p><p>Data is a collection of information.</p><p><strong>What is a variable name?</strong></p><p>A variable name is the name given to a variable.I helps us to identify the data stored .</p><p><strong>When do we use variables?</strong></p><p>We use variables whenever we want to store and reuse data again and again.</p><p><strong>Variable = data(= is assignment symbol)</strong></p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*QxwjwSeol3ouPElNfBoGUw.png" /></figure><p><strong>x is a variable name</strong></p><p><strong>= is a assignment sym</strong>bol</p><p><strong>10 is a data value</strong></p><p><strong>Naming convention in python</strong></p><p><strong>What is naming convention?</strong></p><p>Naming convention is a set of python rules follows and create a variable name.</p><p><strong>Rules of naming convention</strong></p><ol><li>A Variable name should always start with <strong>alphabets</strong> or an <strong>underscore(_).</strong></li></ol><p><strong>Examples: Variable starting with alphabet or underscore ,so it is valid.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*df76oGihRuWZ_1iKq-kDZQ.png" /><figcaption><strong>Variable starting with alphabet or underscore that’s why it is valid</strong></figcaption></figure><p><strong>Variable is not starting with alphabet or underscore,it starting with number so the output is error that error is called syntax error.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*LXwnPVhiBi0EDofMZ1Kzmg.png" /><figcaption><strong>The variable starting with number ,so the output will come error.</strong></figcaption></figure><p><strong>2. Variable name should not contain any special symbols or characters except underscore.</strong></p><p><strong>Example:Variable is not containing any special symbol (except _)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*z3CZ-3GAik5WoGtSqP2eQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*HWFvgzgfPzVMFKpfvdWG8Q.png" /></figure><p><strong>3. Variable name can contain numbers( not as the first character)</strong></p><p><strong>Example: Variable not containing with a number as a first character.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/178/1*Pru1WOSnzaUciI4R4NQ08w.png" /></figure><p><strong>Variable containing first character as a number so the output is syntax error.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*Jz6pdEQunSgfte2AsVhK3A.png" /></figure><p><strong>4. Python is a case sensitive language.</strong></p><p>Python treats uppercase and lowercase letters as different characters.</p><p><strong>Example</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*xYTNaVT8UB7XcCVH6yNhAg.png" /></figure><p><strong>5. Never use keywords as a variable name.</strong></p><p>Keywords are reserved words in python. They have a special meanings, so we cannot use them as a variable name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*wCWCNfYoFuXNVQVODh3dbw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7efeed31ddf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working of Python Engine]]></title>
            <link>https://medium.com/@akshayachitti19/working-of-python-engine-88db4304fba2?source=rss-1856ee980f5b------2</link>
            <guid isPermaLink="false">https://medium.com/p/88db4304fba2</guid>
            <category><![CDATA[working-of-python-engine]]></category>
            <dc:creator><![CDATA[Akshayachitti]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 11:08:57 GMT</pubDate>
            <atom:updated>2026-11-13T11:08:57.899Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ub-UbKuFZshnB_me9cThBA.png" /><figcaption>Working of Python Engine</figcaption></figure><p><strong>What is Python Engine</strong></p><p>Python engine is the system that processes and executes python code to produce the output.</p><p><strong>How does python engine works</strong></p><ol><li><strong>PROGRAMMER</strong></li></ol><p>As a programmer, we write set of instructions using python. All these instructions are also called as source code.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/223/1*8S2t2zgxz15wZrESzWOR_A.png" /></figure><p><strong>2.RUN BUTTON</strong></p><p>When we click on the Run button this entire instruction will be taken by machine and gives to python engine.Python engine only understands python programming language.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*Opx44qxMBSUX8Rs_0s9Jmw.png" /></figure><p><strong>3. Syntax Checker</strong></p><p>Inside the python engine, the source code is given to the syntax checker.</p><p>The syntax checker checks whether the code follows python syntax rules.</p><p>If any syntax errors are found, it’s stops the python engine.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*4OPxY-MkrB87Pt6x80godg.png" /></figure><p><strong>What is Syntax Error</strong></p><p>If you don’t follow instructions, it will get an error, that error is called syntax error.</p><p><strong>4. Compiler</strong></p><p>If there is no syntax errors, the compiler converts the python source code to byte code.</p><p><strong>What is byte code</strong></p><p>Byte code is a low level code created by the compiler from python source code.</p><p><strong>5. Interpreter</strong></p><p>The interpreter executes the bytecode using the <strong>python virtual</strong> <strong>machine(PVM).</strong></p><p><strong>6. Python virtual machine(PVM)</strong></p><p>PVM stands for python virtual machine.</p><p>It executes the bytecode instructions.</p><p><strong>7. Exception Error</strong></p><p>An exception is an error that occurs while a program is running.</p><p><strong>8. Output</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*HqwU1LKC1KqIwWP7Jel9vQ.png" /></figure><p>The python engine execute the instructions and displays the final result on the screen.</p><p><strong>Conclusion</strong></p><p>Python Engine helps us run python programs and gives us the output.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88db4304fba2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>