<?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 SHASHANK SAI RAJ on Medium]]></title>
        <description><![CDATA[Stories by SHASHANK SAI RAJ on Medium]]></description>
        <link>https://medium.com/@shashanksairaj?source=rss-11457f192a58------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*KpyqQ_ISF_qeWZB-</url>
            <title>Stories by SHASHANK SAI RAJ on Medium</title>
            <link>https://medium.com/@shashanksairaj?source=rss-11457f192a58------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:02:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shashanksairaj/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[ABOUT STRING METHODS]]></title>
            <link>https://medium.com/@shashanksairaj/about-string-methods-31008d09ff7e?source=rss-11457f192a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/31008d09ff7e</guid>
            <category><![CDATA[string-methods]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[SHASHANK SAI RAJ]]></dc:creator>
            <pubDate>Sat, 22 Aug 2026 17:48:39 GMT</pubDate>
            <atom:updated>2026-08-22T18:12:59.491Z</atom:updated>
            <content:encoded><![CDATA[<p>STRING METHODS :- String methods are tools to perform particular functionality. In string method it returns a new string instead of changing the orginal string.</p><p>String Methods are written in syntax. The syntax used to write string method is string. method name( ) .</p><p>String methods are Upper( ) , Lower( ) , Swapcase( ) , Capitalize( ) , title( ) , count( ) , replace( ) , index( ) , rindex( ) , find( ) , r.find( ) , strip( ) , lstrip( ) , rstrip( ) , split( ) , rsplit( ) , partition ( ) , rpartiton( ) .</p><h3>1) Upper( ) :-</h3><p>Upper ( ) will convert lower case character into upper case and rest of the characters will be ignored .</p><p>String.upper( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*4RMcqs2kvhl-NEJsR_oeNw.png" /></figure><p>It returns the new string because strings are immutable.</p><h3>2) Lower( ):-</h3><p>Lower ( ) will convert upper case character into lower case character and rest of the characters will be ignored.</p><p>String.lower( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*sX_vHzCY5bbwBXvCRR1w9w.png" /></figure><p>It returns the new string.</p><h3>3)Swapcase( ):-</h3><p>Swapcace( ) will convert lower case characters into upper case characters and upper case characters into lower case characters.</p><p>String.swapcase( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*M335XCrX3KKCxM-mIfvcgg.png" /></figure><p>It returns the new string.</p><h3>4)Capitalize( ):-</h3><p>Capitalize( ) will converts first character into upper case in a string if it is lower case characters and rest of characters will convert to lower case characters if it is upper case characters.</p><p>String.Capitalize ( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*m_0jy9LHIjWp0HWX3W8AVg.png" /></figure><p>It returns the new string.</p><h3>5)Title ( ):-</h3><p>Title ( ) will converts the first character of a word’s in a string from lower case characters to upper case characters and rest of the characters will be ignored. Gives importance to all the words inside string. It changes the first letter of the words in a string to upper case and rest of the characters will turns into lower case alphabets.</p><p>Sting.title ( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*xSN7Bn8iDHsaWtSsvJeGAA.png" /></figure><p>It returns in a new string.</p><h3>6)Count( ):-</h3><p>Count( ) will counts the number of sub strings present in a string .</p><p>String.count ( “ ”,starting index , Ending index)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*XP8a3vq7T7ZpehPrlHk2fg.png" /></figure><p>Here python moves from left to right if we forcefully moves from right to left it will gives output as “empty” as “0”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*SDaHhx6tCpZjV0-c93iZcQ.png" /></figure><p>It is not a string , it would be an integer.</p><h3>7)replace( ):-</h3><p>In replace( ) we can replace original substring with new substring from a string.</p><p>String.replace(orginal substring, new substring , max limit )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*wvEjo_f39xYWzFos_gz69w.png" /></figure><p>Original substring = SubString which is present in sring.</p><p>New substring = Substring which we need to replace original substring in a string.</p><p>Max limit : At which index we can replace the new substring.</p><p>It returns in a new string.</p><h3>8)index ( ):-</h3><p>Index( ) used to return the location of a substring occurring in the first occurrence of a string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*hj2yJmePlIoBApxcHVQfYw.png" /></figure><p>String.index(substring,starting index,Ending index)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*JjoMvZgdupAyVVabIYfk-Q.png" /></figure><p>It doesn’t gives you a string it gives an integer. Here python moves from left to right if we given input to move from right to left it gives error .If the substring is not found in a string it gives value error.</p><h3>9)rindex( ):-</h3><p>rindex( ) is same as index( ) but in this it prefers from right to left in a string to find a substring. It gives output from last occurrence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*ScTL9V-FMT4Ol7vWCWUpJg.png" /></figure><h3>10)find( ):-</h3><p>find( ) used to return the location of a substring occurring in the first occurrence of a string.</p><p>String.index(substring,starting index,Ending index)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*ZykRqm2Eg43_mFeHm95tCw.png" /></figure><p>It doesn’t gives you a string it gives an integer. Here python moves from left to right if we given input to move from right to left it gives output as -1.If the substring is not found in a string it gives output as -1.</p><h3>11)rfind( ):-</h3><p>rfind( ) is same as find( ) but in this it prefers from right to left in a string to find a substring. It gives output from last occurrence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*O9YJ_h4Xw0mxNH7k4__b5A.png" /></figure><h3>12)strip( ):-</h3><p>Strip( ) will remove the character or elements of starting and ending of a string . If we doesn’t use any character inside the string then default character will be space. It’s not take as substring or any sequence of elements. It takes as seperate characters of each.Here it doesn’t remove the substring in the middle of the string.</p><p>String.string (substring)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*UfBSb1FrF0ToqBbihSp9kw.png" /></figure><p>Here strip is classified into two types</p><p>1)lstrip( )</p><p>2)rstrip( )</p><h3>13)lstrip( ):-</h3><p>lstrip( ) is same as strip( ) but in lstrip( ) it only removes the character which are at left side of the string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*kMeWsdmIW0sdHtj102C3uA.png" /></figure><h3>14)rstrip( ):-</h3><p>rstrip( ) is same as strip( ) but in rstrip( ) it only removes the character which are at right side of the string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*3vGJfBnb81pE5tmgiqe7ZQ.png" /></figure><h3>15)split( ):-</h3><p>Split( ) will split your entire string into a substring . Based on the condition it splits the string. Here default is space .If we have one element to split it gives space toward left of the element and it gives space towards right side of the element and removes the element which we splits and these executes it as Output .</p><p>String.split(substring,no.of same elements need to split)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*BycVFrk3zINxI8fB_RpaEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*eDhz_YhLhnIJx4V221N3VQ.png" /></figure><p>It removes the element before the index.</p><h3>16)rsplit:-</h3><p>rsplit( ) is same as split( ) but it will removes the elements from right to the left of the string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*gMXnAq5KY4jZfKMB_Kmtig.png" /></figure><h3>17)partition( ):-</h3><p>Partition ( ) will split the string into a substring in the form of 3types and it executes as Before split, split value and After split. Here we doesn’t get space as default.</p><p>String.partition(Before split value,Split value,After split value)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*u3wyIadhzN8IEJBsLinpJg.png" /></figure><h3>18)rpartition:-</h3><p>rpartition( ) is same as partition( ) it will split from right to left in a string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*Xo8KlTbxLxeooo_a5socUA.png" /></figure><p>— — — — — — — — — — — -************************* — — — — — — — — — — -</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31008d09ff7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ABOUT TYPE CONVERSION]]></title>
            <link>https://medium.com/@shashanksairaj/about-type-conversion-d3dd135c3c94?source=rss-11457f192a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3dd135c3c94</guid>
            <category><![CDATA[explicit]]></category>
            <category><![CDATA[implicit]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[type-conversion]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[SHASHANK SAI RAJ]]></dc:creator>
            <pubDate>Sun, 16 Aug 2026 07:33:00 GMT</pubDate>
            <atom:updated>2026-08-16T07:37:03.418Z</atom:updated>
            <content:encoded><![CDATA[<p>Type Conversion is a technique by using which the data can convert from one data type to another data type is known as Type Conversion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*M5zUIXnf8q0rPWbrTjQgDQ.png" /></figure><p>Here the data converts from data to another data type by using some inbuilt functions.</p><p>Type conversion is classified into two type :</p><ol><li>IMPLICIT</li><li>EXPLICIT</li></ol><h3>IMPLICIT TYPE CONVERSION:-</h3><p>Whenever the data is converted from one type of data to another type of data automatically by python engine is known as Implicit. Based on the importance of the data it executes the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*zdNhIb_UrEMFi4xFgyIDew.png" /></figure><p>It automatically gives output without loosing any data . It checks whether the data is same if the data is not same then it executes by the importance of data.</p><h3>EXPLICIT TYPE CONVERSION:-</h3><p>Whenever the data is converted from one data type to another data type forcefully by user is known as explicit type conversion . When the data is converting it may loose the data or it may not loose the data . It convert’s the data from one data type to another data type by using some tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*KbIF325XD4zgSgJhNjE7rA.png" /></figure><p>By using constructor tools the data forcefully converts from one data type to another data type. Some Constructor tools are int( ) , float( ) and complex( ).</p><p>int( ) is used to convert data from integer and float to integer.</p><p>float( ) is used to convert data from integer and float to float.</p><p>complex( ) is used to convert from integer , float and complex to complex.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3dd135c3c94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INTRODUCTION ABOUT NUMERIC]]></title>
            <link>https://medium.com/@shashanksairaj/introduction-about-numeric-d49dacb102c5?source=rss-11457f192a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/d49dacb102c5</guid>
            <category><![CDATA[int]]></category>
            <category><![CDATA[float]]></category>
            <category><![CDATA[numeric]]></category>
            <category><![CDATA[complex]]></category>
            <dc:creator><![CDATA[SHASHANK SAI RAJ]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 17:57:51 GMT</pubDate>
            <atom:updated>2026-08-15T17:57:51.150Z</atom:updated>
            <content:encoded><![CDATA[<p>Numeric is a Group of Data type in python, here Numeric is classified into 3 data types . The data types are Integer , float and complex.</p><h3>INTEGER :-</h3><p>Integer is written as int( ) in python. Integer is a Python data type by using int( ) we can create any real numbers.</p><p>In these we have Interning</p><h3>INTERNING:-</h3><p>Interning is a technique by using which python allocates a small memory or space . Allocation of space is known as cache. cache used for checking. cache store’s a range of values based on the hardware.</p><p>INTEGER INTERNING :- In python cache store’s range of value( “here am used google collab so the range of values are -5 to 256”). Whenever the user assign the data which is in range. Python Engine checks the data assigned by user is in range or not , if the data is in range it creates and allocates the data in a memory . User given same data with another variable which is in range then data allocates in the same memory and assigned to different variables in same memory unit. Both id( ) of the data’s are same.</p><p>EXAMPLE :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*QxfceZ8eDz5qIVKaVDye2Q.png" /></figure><p>If the data is not in the range the python engine does not checks the data. It directly goes to create a memory in RAM and allocate the data in it. If the user assigned same data with another variable then the data doesn’t stores in same memory it creates and stores the data in another memory inside the RAM. The id( ) of both that is different.</p><p>EXAMPLE:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*2_05zg_Y9GF8ht6WRBVjIA.png" /></figure><h3>FLOAT:-</h3><p>Float is a python data type by using which create any decimal value is known as float. It is defined as float( ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*-FMhe-Jd_GoPoki5v-bbZA.png" /></figure><p>It perceives up to 16 decimals after 16 decimal’s it imagines and roundup the data and gives the similar data. In this cache will not present’s. It doesn’t reuse the data and doesn’t support internally. It gives all the different id’s same data type .</p><h3>COMPLEX:-</h3><p>Complex is a python data type by using which can create a complex data is known as complex. Here the Complex data is combination of Real numbers and Imaginary numbers with the positive or negative . The complex data is need to be as in below format .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*i1E6c0NzpRzRBsbIOgJogQ.png" /></figure><p>Here in complex data in imaginary number side the number is definitely need to carry “ j or J” .If it doesn’t contains “ j or J” it shows error. These id’s are different and it doesn’t reuse the data . In imaginary numbers we can write Integer and float numbers with “j or J” .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*o3P3rlN3mhOjaRQ5R2vAlw.png" /></figure><p>If we doesn’t follows the rule then it shows error as given below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*onED-L9XNSZo18iwXBO-kg.png" /></figure><p>*******************— — — — — — — — — — — — — — — -— — —*******************</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d49dacb102c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WORKING OF PYTHON ENGINE]]></title>
            <link>https://medium.com/@shashanksairaj/working-of-python-engine-f625f3037957?source=rss-11457f192a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/f625f3037957</guid>
            <category><![CDATA[work-of-python-engine]]></category>
            <dc:creator><![CDATA[SHASHANK SAI RAJ]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 18:29:01 GMT</pubDate>
            <atom:updated>2026-08-10T18:29:01.082Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*A1CmNhthnrJ5R7NJ.png" /></figure><p>When the source code is send to python engineer it first checks set of instructions with syntax checker whether the program is following python rules and grammar in python engine and if the program is with no syntax error it goes to next step if not it shows error and stops , if the program is not with any mistakes then it sends to compiler and compiles checks the whole and if any mistake occurs in program it shows error if the program is correct then its sends the program to interpreter by converting the program into byte code and the interpreter checks the program in line by line if any error occurs it shows the exact location where the error occurs here, in interpreter we get exception error due to logic . If all the program is correct then the interpreter sends code to Python Virtual Machine (PVM).Then the PVM execute the code and turns into low level language .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/0*OTQdJF_nDeWFXYuY.png" /></figure><p>The process from source code to byte code is called compilation.</p><p>The process from byte code to execution , the PVM executes the byte code this is known as runtime.</p><p><strong>1. Syntax Error</strong><br> Python first checks whether the source code follows the correct Python syntax. If something is wrong, such as a missing ( : ) , it gives a syntax error and does not continue.</p><p><strong>2. Compiler</strong><br> If the syntax is correct, the Python compiler compiles the source code into bytecode.</p><p><strong>3. Bytecode</strong><br> Bytecode is an intermediate set of instructions<strong> </strong>produced from the Python source code. It is not machine language.</p><p><strong>4. Interpreter</strong><br> The Python interpreter is the overall program that processes and executes Python code. In CPython, the interpreter includes the mechanisms that compile source code and execute bytecode.</p><p><strong>5. PVM (Python Virtual Machine)</strong><br> The PVM is the part pf CPython that executes the byte code during runtime.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f625f3037957" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ABOUT ARTIFICIAL INTELLIGENCE]]></title>
            <link>https://medium.com/@shashanksairaj/about-artificial-intelligence-31442b5c0204?source=rss-11457f192a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/31442b5c0204</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[SHASHANK SAI RAJ]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 16:41:22 GMT</pubDate>
            <atom:updated>2026-08-14T11:17:43.354Z</atom:updated>
            <content:encoded><![CDATA[<p>ARTIFICIAL INTELLIGENCE :- It is an field at which humans can guide the machine’s , by the Human’s guidance the machine can mimic ( or ) copy the Natural Intelligence to make its own Intelligence is known as Artificial Intelligence.</p><figure><img alt="A Hand holding a glowing digital hexagon labeled “AI” , sorrounded by technology and artificial intelligence icons" src="https://cdn-images-1.medium.com/max/1024/0*sslDB4N1VCBISuVZ.jpg" /></figure><p>Human intelligence is the ability of humans to learn , reason , perceive , solve problems , make decisions , and adapt to different situations. AI aims to simulate these intelligent behaviour in machines.</p><h4>THE IMPORTANT AREAS OF MODERN AI:-</h4><ol><li>MACHINE LEARNING :- Machine Learning is a part of AI where computer learns pattern from data and make predictions or decisions without being explicitly programmed for every rule.</li><li>DEEP LEARNING :- Deep Learning is a specialized subset of Machine Learning that uses Artificial Neural Networks to learn automatically learn and extract features from complex data. The word “deep” refers to the large number of layers through which data is processed. For Example :Face recognition, Speech recognition , Self driving system , Image classification.</li><li>GENERATIVE AI :-Generative AI is the AI that can create new content based on patterns learned from existing data . It can generate Text , Images , Music , Audio , Video , Code . For Example : ChatGPT generating answers to our questions.</li><li>AGENTIC AI :- Agentic AI refers to AI. Agentic AI has its own brain called as LLM and Memory to store the data and it perform specific actions by using tools is Known as Agentic AI. For Example: An AI travel agent that autonomously plans a trip , searches for hostels and flights , compare prices , and creates an itinerary is an example of Agetic AI.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31442b5c0204" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>