<?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 Nisha keswani on Medium]]></title>
        <description><![CDATA[Stories by Nisha keswani on Medium]]></description>
        <link>https://medium.com/@nishakeswani?source=rss-a56be7eb450b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xjjmgx_IwEtBbstNIfA8jA.jpeg</url>
            <title>Stories by Nisha keswani on Medium</title>
            <link>https://medium.com/@nishakeswani?source=rss-a56be7eb450b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:51:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nishakeswani/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[Day2 : Let’s Learn Python]]></title>
            <link>https://medium.com/@nishakeswani/day2-lets-learn-python-2bbe52fbf512?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bbe52fbf512</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 10:31:43 GMT</pubDate>
            <atom:updated>2024-10-13T10:31:43.694Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day2 : Let’s learn Python</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0CTuLFHXv3C7OoaB4jlGDA.png" /></figure><p>Hey everyone! This is day2 of our Python journey and we are going to learn about data types, operations and type conversions.</p><p>In my previous blog, we learned about <strong>len() </strong>function where we were calculating the length of a word.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*SKhw01DPheLYPN8ywefxew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*uP56aCJsSpfV6rWrSn41TA.png" /></figure><p>What if I want to find out how many digits are in a number?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*C8kFdr9punB0QzP7TaFX6A.png" /></figure><p>We encounter an error when trying to calculate the length of a number because it’s of type int, and the len() function doesn’t work with integers. As shown in the screenshot below, it raises a TypeError.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*kt065iw6qUGpr-zyzNgHpg.png" /></figure><p>To understand this better, we need to learn about data types first.</p><p>In python, Data Type is something which specifies what kind of data can be stored and what operations can be performed on it.</p><p><strong>String:</strong></p><p>The string data type is used to represent a sequence of characters. You can create strings using single quotes (e.g., &#39;Hello, I am Nisha&#39;), double quotes (e.g., &quot;Hello, I am Nisha&quot;), or even triple quotes for multi-line strings (e.g., &quot;&quot;&quot;Hello, I am Nisha&quot;&quot;&quot;).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*W46irCGu_R9PFpLXrRQrgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*ENgPXEnMcFZteX82rRH_cg.png" /></figure><p><strong>Indexing</strong> is one of the properties of a string that means We can actually pull out each character individually. Let’s see how it works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*Oo03Wg5QtfzQAglE663b6w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*MT6Gz4X8szL6ZecgYz-rww.png" /></figure><p>In this example, var1[0] gives us the first character of the string, and var1[1] gives us the second character, and so on.</p><p>Now, if you want to print the last character of the string but don’t know its length, you can use negative indexing. The last character can be accessed with var1[-1]. Let’s see how that works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*vyn0IlSCNjgYXeVmoxtS3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*UTx3mnswwMeuBZeG_Qddng.png" /></figure><p>Whatever we put anything inside the quotes (like &quot; &quot; or &#39; &#39;) is treated as a string. So, if we have &quot;123&quot; and &quot;345&quot;, they are considered strings, not numbers. If we add these two strings together, like &quot;123&quot; + &quot;345&quot;, we’ll get the new string &quot;123345&quot; instead of the number 468. This is known as concatenation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*9Q_oGgKrE1a_VxCuBTiWdA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*OtwS-bnibdjEv2FR3OQbPw.png" /></figure><p>Here, we have concatenated two strings together.</p><p><strong>Integers:</strong></p><p>Integers are represented by the <strong>int </strong>data type. Integers are whole numbers, which can be positive, negative, or zero.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*jj52qMG6MJ7MqzxiaE-dKA.png" /></figure><p><strong>Float :</strong></p><p><strong>Float</strong> data type represents floating-point numbers, which are numbers that have a decimal point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*Y-apIaAqVmtayuGGv9J5LA.png" /></figure><p><strong>Boolean:</strong></p><p><strong>bool</strong> data type represents boolean values, which can be either true or false.<br>They can also be combined with logical operators like OR, AND , NOT.</p><p>Also, they are often the result of comparison operations like ==, != , &lt; , &gt; etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*UEFpG6Xra890kRn-gm1tOA.png" /></figure><p>if we print the output of above operations, we will get result either true or false.</p><p>Let’s print them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*85fcHsO2fskHrB33ORU9Lg.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*dzMu63Qd_HlCiRXtOLLOOg.png" /></figure><p>Now what if you want to check the type of a data, in python there is one function Type() to check this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*m-CXrSTaWQ6leBPcLtrWeg.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*XFj-0_JdYLm2bK-4QqnfZw.png" /></figure><p><strong>Type Conversion:</strong></p><p>Sometimes, you might find that the data type you’re working with isn’t quite right for what you want to do. This is where type conversion comes in!</p><p>For example, consider the string &quot;123&quot;. If you try to add it to another string like &quot;345&quot;, Python will just stick them together, resulting in &quot;123345&quot;—it treats them as text. However, if you convert these strings into integers, you can perform actual mathematical operation i.e. addition. So, when you add the integer values of 123 and 345, you’ll get 468.</p><p>Let’s see how to change the type of data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*TJMdJXsUBIGBjc6Gj-6X6A.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*VDDuYpsTzbT5IVVQVOLdWA.png" /></figure><p>Now, Let’s take a string “abc” what if you convert the data type of “abc” to integer, let’s see what happens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*Cwb7nmkVxiYu1oqxV9pZXw.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*w2CH2CskQhtfmWAnFG7ovw.png" /></figure><p>We will get<strong> ValueError</strong>. which says there is an invalid literal for the int which is abc and it does not really make sense to convert this into integer.</p><p><strong>Mathematical Operations:</strong></p><p>In Python, Below operations we can be performed :</p><ul><li><strong>Addition</strong> (+)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*qAGVGyoH_9S9L3C-QN2Y9w.png" /></figure><ul><li><strong>Subtraction</strong> (-)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*jzQoLuc5CswlqdDGg0QEQg.png" /></figure><ul><li><strong>Multiplication</strong> (*)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*FOFIUGA3ybWuWvrfynyb1w.png" /></figure><ul><li><strong>Division</strong> (/)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*v8WGZn3NR5MSkxdoZ9pOpQ.png" /></figure><ul><li><strong>Floor Division</strong> (//)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*z7lKz96PLZ53ygRbiib8ww.png" /></figure><ul><li><strong>Modulus</strong> (%)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*SAH43Or7_aibe92euDuqBg.png" /></figure><ul><li><strong>Exponentiation</strong> (**)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*zsV7Oskg0Fygc3zdXtOoeQ.png" /></figure><p><strong>Order of operation:</strong></p><p>In Python, the order of operations for mathematical expressions follows the standard mathematical conventions, often remembered by the acronym PEMDAS:</p><ul><li><strong>Parentheses</strong> ()</li><li><strong>Exponents</strong> **</li><li><strong>Multiplication</strong> * and <strong>Division</strong> / (from left to right)</li><li><strong>Addition</strong> + and <strong>Subtraction</strong> - (from left to right)</li></ul><p>for example:</p><p><strong>3*3+3/3–3 </strong>, Lets take this expression. what we will get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*Cz9rv8TztwfsVtCBZ89uSQ.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*3j9kne0zWGet0v-FuYQN-Q.png" /></figure><p><strong>Let’s see how it got executed:</strong></p><p>As per PEMDAS (parenthesis ), 3*3 should get executed first followed by 3/3:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*DrWfw4TWvYvboOrOjjxY_g.png" /></figure><p>It should become like this, 9+1.0 should get executed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*SjRaRqNRMqGebuCMqKi_NA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*F5df-g84N4mZbvUJmVpy8A.png" /></figure><p>After this, We must get output : 7.0 after execution of 10.0–3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*PenuW19i1TwZi93q-xzsEQ.png" /></figure><p>Now, Lets suppose you have 3 variables with different data types : integer, float and Boolean</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*Ujxp6HOyTlmgt_QurT_fxg.png" /></figure><p>what if you want to print these three variables in a single line like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*eMPwBoOwjdg-gjvXy0tntA.png" /></figure><p>This will throw a type error, because (<strong>a)</strong> variable is an integer and( <strong>“the output is:”</strong>) is a string.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*0ze5n0wPzjy1dJxoblnvHQ.png" /></figure><p>In order to print this we need to change the type of variable (<strong>a ) </strong>into a string which we do not want.</p><p>In this case, we can use <strong>f-string or formatted string</strong> literals, a way to make strings that include variables or expressions. You start the string with an f or F, and then you put the variables you want to include inside curly braces {}.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cIH-ASh2adGX_PVnlfjocw.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*HJv_TP0sZ8M5iv1Xfuz2RQ.png" /></figure><p>This is all about data types, mathematical operations, type conversions and F string. I hope you enjoyed this blog and found Python easy to understand so far. I’ll be back soon with the Day 3 blog, so stay tuned! If anyone is interested in learning Python from me personally, feel free to connect with me on LinkedIn: <a href="https://www.linkedin.com/in/nishakeswani/">https://www.linkedin.com/in/nishakeswani/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bbe52fbf512" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 1 : Let’s learn Python!]]></title>
            <link>https://medium.com/@nishakeswani/day-1-lets-learn-python-abc2a7b82990?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/abc2a7b82990</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Mon, 07 Oct 2024 06:11:32 GMT</pubDate>
            <atom:updated>2024-10-07T06:11:32.104Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 1 : Let’s learn Python!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XnGPaoBffJcmIO7b55uNEg.png" /></figure><p>Hey everyone! I’m Nisha Keswani, an Automation Developer. I often use Python in my job, and I know many people want to learn Python in an easy way, so I created a 100-day series to help you out!</p><p>Today is Day 1 of our Python journey. We’ll start with some basics, like printing ,debugging, string manipulation and variables.</p><p><strong>Printing:<br> </strong><br>Let’s begin by printing something to the console using the <strong>print</strong> function. You just need to write <strong>print(“your message here”)</strong>, and whatever you put inside the quotes will show up on the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*ZT62ZJvy28TRStaznrvkMg.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*DIauFrLrVb3x92n-h6tJHA.png" /></figure><p><strong>Syntax Error:</strong></p><p>If we remove the double quotes at the end of the <strong>print()</strong> function, it will cause a <strong>Syntax Error</strong>. Anything inside the double quotes is considered a string, which is what gets printed to the screen. If we change the standard syntax in any way, we’ll run into an error.</p><p>Also, notice that if you take away the parentheses, the color of the text changes to match the regular text color. This indicates that the code is no longer being recognized as valid Python syntax.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*3BQ1ujeUIXyY5ef88b3wrQ.png" /></figure><p>Error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*KS0ykzwn0JdGBMtEHvCvbA.png" /></figure><p>We all make mistakes when coding, but how quickly we can identify and fix those errors is really important.</p><p>Let’s say we want to print the following text:<br>1- What is python?</p><p>2- How can I learn it?</p><p>3- Is it easy to learn?</p><p>To print these lines, we can use the <strong>print()</strong> function for each one. Here’s how it would look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*mwiFU13OXswWXkFLRg0j2g.png" /></figure><p>output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*bwPnt9pEgb-Gj0cW4HY3Bg.png" /></figure><p>Instead of writing print three times, we can do it in one line to achieve the same output! We just need to use <strong>\n</strong> to create new lines.</p><p>Here’s how it works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ng4AkcDD9nwHZZaT8X3juw.png" /></figure><p>With this, each question will be printed on a new line. The <strong>\n</strong> acts as a line break, making our code cleaner and easier to read!</p><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*lgVY9_pJnLC2Hz0JDuVTPQ.png" /></figure><p><strong>String Manipulation:</strong></p><p>We can also combine two or more strings together, which is called <strong>concatenation</strong>. This allows us to add one string to the end of another.</p><p>Here’s how you can do it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*kwavWw_bF-LhOGkKgOk7vQ.png" /></figure><p>output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*WFz1tyF3QDN86RZCL2u3Yg.png" /></figure><p>If you want to include a space between your text when concatenating strings, you can do it in several ways.</p><p><strong>Way 1:</strong> You can add a space just like you concatenate strings. For example:</p><p>In this case, the output will be “Hello World” with a space in between. The “ “ acts as the separator between the two words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*uGIs7kjg0HvMbGn1xiWxeg.png" /></figure><p><strong>Way2:</strong> You can also add a space either after or before one of the strings. For example:</p><p>In this case, we added a space after “Hello”. The output will be “Hello World”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*W_SV_9do0box0crW9H4Wqw.png" /></figure><p>Alternatively, you could add the space before “World”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*H95g_ZOVCcYNb3UMZAv19A.png" /></figure><p><strong>Indentation Error:</strong></p><p>In Python, proper indentation is crucial for defining blocks of code. If you accidentally add a space before the print function (or any line of code that should not be indented), you’ll encounter an Indentation Error.</p><p>In this case, the extra space before print will cause an error because Python expects the line to be aligned with the rest of the code. To fix it, simply remove the extra space:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*a-KYUMIZnT8iv7olpISDTw.png" /></figure><p>Error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*GicCVBeOUAzuHpXBwt4EOQ.png" /></figure><p>Now, What if we want user to input the data , we can use<strong> input() </strong>function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*BskT-io2ebjXtOIMMe1mvw.png" /></figure><p>Output:</p><p>This will ask you to enter your input:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*zSwgwTvoMSh1LBQ_97BqqA.png" /></figure><p>You need to enter your name after above statement:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*b1RLTBA7bpN2bu38Gv7HZg.png" /></figure><p>When you enter your name, it wil get executed!</p><p>Let’s try it in a different way:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*Iim4G_lrBl8iKBtDfXyHfw.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*9ZI6v-5rknc2gzzx1xUTqA.png" /></figure><p>One more:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*zmDeILCNG2lWv5v83YAkkg.png" /></figure><p>Let’s break down how the program works. When we run it, the first thing that happens is the print() function is called. Inside this function, the string “Hello” is processed and converted to ‘Hello’. Next, a blank space “ “ is encountered, which is converted to a string as well, resulting in ‘ ‘.</p><p>Then, the program encounters the input() function, which prompts the user for input. If the user enters the name “Nisha,” this input is captured as the string ‘Nisha’.</p><p>Following that, the exclamation mark “!” is processed and converted into the string ‘!’.</p><p>Finally, the program executes print(‘Hello’ + ‘ ‘ + ‘Nisha’ + ‘!’), which concatenates these strings and displays the output.</p><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*qIjAaLdGUBXYP4zKkG6nlQ.png" /></figure><p><strong>Comments:</strong></p><p>For comment you can use <strong># </strong>in python. Comment is something which will not get executed. This is for your reference only.</p><p>Comment Single line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*albFfpk-ieu67zmvmY-Msg.png" /></figure><p>Comment multiple lines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*PTFmW5AuxWXxmBFgsvRlPg.png" /></figure><p><strong>Variables:</strong></p><p>In the previous code, we used the input() function to get input from the user. Once the input is received, it gets processed and is not stored for future use; it gets disappears after execution. This is where variables come into picture. By assigning the user input to a variable, we can retain that value and reference it later in the program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*5gWgbYCh9aesnPxNMc9RDg.png" /></figure><p>we can use this <strong>name </strong>variable<strong> </strong>anywhere in the program. Here, we are using it to print the value.</p><p>The <strong>name </strong>variable can be referenced throughout the program, allowing us to access the user input whenever needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*pv2MecNN6e_Nj7uy5PMXZw.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*g2imdGNRvgQasHouAwMayg.png" /></figure><p>Now, I have assigned the value to one variable <strong>fruits = “Apple” </strong>that means it is holding the value apple <strong>, </strong>Later on I changed the value to “<strong>Banana</strong>” now it it is holding the value banana</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*_1Mi-k-DwgjC8YRmcA3esg.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*TLuDi1vUb3aRPK6lXal76A.png" /></figure><p>Now , I want to know how many characters are there in “Apple” and how many characters are there in “banana”</p><p>we can simply use <strong>len() </strong>function, Let’s see how:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*mycei61__LTr0581LEDADQ.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*6ac5TuDjiNkuQZg4TctDYw.png" /></figure><p>Now, I want to take the input from the user, Calculate the length of the input and print it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*vnIlJPEhsoM8ozIoYCeluA.png" /></figure><p>In the code, it first prompts the user for input. For example, if the user inputs “ Yes “, the program will calculate the length of the input using len(yes) , it will return the length as 3 , than it will print the output 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*4J4jWt6rjAIIurwk4-F2yA.png" /></figure><p>In the previous code, we used the input() function to get input from the user. Once the input is received, it gets processed and is not stored for future use; it essentially disappears after execution. This is where variables come into play. By assigning the user input to a variable, we can retain that value and reference it later in the program.</p><p><strong>Naming a Variable:</strong></p><p>If you use n = &quot;Nisha&quot; and l = len(n), it might not be clear what these variables represent or why they were created. However, if you use username = &quot;Nisha&quot; and length = len(username), it&#39;s much easier for anyone reading the code to understand their purpose. Clear and descriptive variable names are essential for readability and maintainability.</p><p>In addition to choosing meaningful names, there are specific rules for naming variables in Python.</p><ul><li>Use lowercase letters and separate words with underscores. Ex: <strong>my_variable</strong></li><li>Choose names that clearly indicate the variable’s purpose. Ex: Instead of <strong>x</strong> , use <strong>height, age , user_data</strong> etc.</li><li>Stick to letters, numbers, and underscores. Avoid starting with a number or using spaces. Ex: Instead of<strong> 1var</strong> , use <strong>var1</strong> ,<strong> var2</strong></li><li>If abbreviating, ensure it’s clear what the abbreviation stands for. Ex: Instead of <strong>n_items</strong> use <strong>num_items</strong></li></ul><p>I hope you enjoyed this blog and found Python easy to understand so far. I’ll be back soon with the Day 2 blog, so stay tuned! If anyone is interested in learning Python from me personally, feel free to connect with me on LinkedIn: <a href="https://www.linkedin.com/in/nishakeswani/">https://www.linkedin.com/in/nishakeswani/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abc2a7b82990" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to DevOps : Day1]]></title>
            <link>https://medium.com/@nishakeswani/introduction-to-devops-day1-36ead80a849e?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/36ead80a849e</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 13:36:36 GMT</pubDate>
            <atom:updated>2024-01-13T13:36:36.011Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to DevOps : Day1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-VanYPXPcbT7P68NBDnqTQ.jpeg" /></figure><p>Hey all! <br>Welcome to the 60 Days of DevOps Challenge! This is a journey for anyone curious about how things work behind the scenes in technology. Whether you’re a tech pro or just starting, this challenge is designed for you!</p><p>Imagine DevOps as a magical culture that transforms how development and operations teams collaborate. In the past, they worked like separate islands, hardly talking to each other. This separation resulted in a lack of communication, misunderstandings, inefficiencies and delay in delivery. Now, thanks to DevOps, they’re like a chef and a delivery person working in perfect sync. DevOps is more than practices; it’s the secret sauce for speedy, reliable software delivery. It’s about fostering a mindset that values teamwork, automation, and always getting better.</p><p>DevOps isn’t a mere handshake between development and operations; it’s a constant collaboration throughout the software development lifecycle. From the initial planning and coding phases to testing, deployment, and monitoring, everyone is on the same page. This streamlined collaboration minimizes errors, accelerates delivery, and enhances the overall quality of software.</p><p>Furthermore, the DevOps culture promotes automation to streamline repetitive tasks, reduce manual errors, and increase efficiency. This not only enhances the reliability of software but also frees up valuable human resources to focus on more strategic and creative aspects of their work.</p><p>Companies leverage a variety of tools to implement DevOps practices successfully. Continuous integration and continuous delivery (CI/CD) pipelines, configuration management tools, and infrastructure as code (IaC) are among the technologies that facilitate the seamless flow of code from development to production.</p><p>Let’s take few examples of companies that have successfully implemented DevOps practices:</p><p><strong>Amazon</strong>, a global e-commerce and cloud computing giant, has been a pioneer in adopting DevOps practices. They use automation extensively to deploy and manage applications on their vast cloud infrastructure (Amazon Web Services — AWS). This ensures rapid and reliable service delivery.</p><p><strong>Netflix</strong>, a leading streaming service, relies heavily on DevOps for its continuous delivery and scalability. They use automated testing, continuous integration, and deployment to roll out updates seamlessly. DevOps enables Netflix to adapt to changing user needs and deliver an uninterrupted streaming experience.</p><p><strong>Google</strong>, a tech giant known for its search engine and cloud services, emphasizes a DevOps culture. They use automation to manage their massive cloud infrastructure efficiently. DevOps practices enable Google to deliver new features, updates, and improvements to users globally without service disruptions.</p><p><strong>Facebook</strong>, social media platform, employs DevOps to manage its complex infrastructure. Automation plays a crucial role in deploying changes, ensuring a seamless experience for billions of users. DevOps allows Facebook to innovate rapidly, introducing new features and improvements.</p><p><strong>Microsoft</strong>, a global technology company, has embraced DevOps across its software development and cloud service teams. Azure DevOps, Microsoft’s DevOps toolset, facilitates collaboration and automation, allowing developers to deliver high-quality software and services efficiently.</p><p>These examples illustrate how DevOps principles have become integral to the success of various companies across different industries. Whether in e-commerce, streaming, cloud services, or social media, the adoption of DevOps practices has proven to enhance agility, accelerate innovation, and deliver a better user experience. It’s not just a trend; it’s a fundamental shift in how companies approach software development, operations, and delivering value to their customers.</p><p>Here are some popular DevOps tools across different stages of the software development lifecycle:</p><p><strong>Version Control</strong>:</p><p>→ Git: Widely used for source code version control, Git allows teams to collaborate on code changes efficiently. Platforms like GitHub and GitLab provide additional collaboration features.</p><p><strong>Continuous Integration (CI):</strong></p><p>→ Jenkins: An open-source automation server, Jenkins facilitates continuous integration and delivery. It automates building, testing, and deployment of code changes.</p><p><strong>Continuous Deployment/Continuous Delivery (CD):</strong></p><p>Travis CI: A cloud-based CI/CD service that integrates with GitHub repositories. It automates the testing and deployment of applications.</p><p><strong>Containerization:</strong></p><p>Docker: Docker simplifies the packaging and deployment of applications by containerizing them. Containers ensure consistency across different environments.</p><p><strong>Container Orchestration:</strong></p><p>Kubernetes: An open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications.</p><p><strong>Configuration Management:</strong></p><p>Ansible: Ansible automates configuration management and application deployment. It uses YAML-based playbooks to define tasks.</p><p><strong>Infrastructure as Code (IaC):</strong></p><p>Terraform: Terraform enables the provisioning and management of infrastructure as code. It supports multiple cloud providers and on-premises environments.</p><p><strong>Monitoring and Logging:</strong></p><p>Prometheus: An open-source monitoring and alerting toolkit designed for reliability and scalability.</p><p>ELK Stack (Elasticsearch, Logstash, Kibana): Elasticsearch for searching and analyzing data, Logstash for processing logs, and Kibana for visualizing log data.</p><p><strong>Collaboration and Communication:</strong></p><p>Slack: A messaging platform that facilitates team communication and collaboration.</p><p>Microsoft Teams: A collaboration platform integrated with Microsoft 365, providing chat, video conferencing, and file sharing.</p><p><strong>Cloud Platforms:</strong></p><p>Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP): Cloud providers offer a range of services for building, deploying, and managing applications in the cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NrDu7LMzdMx4RN6z.png" /></figure><p>Over the next 60 days, we’ll uncover the mysteries of DevOps. From basics to hands-on exercises, this challenge makes DevOps accessible for everyone. Whether you’re into automation, love the cloud, or just want to polish your software skills, there’s something here for you.</p><p>Your role is simple — be curious! Think of yourself as a tech explorer. Ask questions, try out the tools, and enjoy the learning. DevOps isn’t one-size-fits-all; it’s like a toolkit you can adapt to your way of working.</p><p>We’re not just skimming the surface in this challenge; we’re diving deep into DevOps concepts. Stay tuned for Day 2, you will find something more on DevOps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36ead80a849e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before Cloud: The Era of On-Premises Infrastructure!]]></title>
            <link>https://medium.com/@nishakeswani/before-cloud-the-era-of-on-premises-infrastructure-5e2108ad738d?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e2108ad738d</guid>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Sun, 18 Jun 2023 11:29:29 GMT</pubDate>
            <atom:updated>2023-06-19T08:21:29.959Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey, Ever wondered what was there before cloud? <br>Well, Let me take you to the time when there was no cloud. During this pre-cloud era, Organizations relied on traditional On-Premises infrastructure to meet their computing requirements.</p><p>Organizations used to have their own computer systems and physical components stored on their own buildings, called as datacenters which contain all the equipment. They had to buy and maintain their own servers , storage, switch , Network , routers , etc. They were responsible for storing and protecting their own data on their physical storage devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/0*OoB8FE6TsA8aG1n2.png" /></figure><p>if we look at above diagram of On-Premises, Organisation have a physical site, there is a datacenter and on top of it there are external users.</p><p>In datacenter, there are multiple physical devices like databases, physical servers, switches, routers etc. which are connected with each other.</p><p>If organization wanted to improve anything in the infrastructure or if they needed to add any additional device they had to invest and purchase that device in order to fulfill the requirement.</p><p>There are multiple disadvantages of On-Premises:</p><ul><li>To setup a datacenter we have to invest on physical site or location and then need to invest in purchasing physical hardware like servers, switches , routers, storage , backup devices , ethernet cables, etc.</li><li>Now , We invested and set up a datacenter. what if we face hardware failure issue , for that we need vendor support and again we need to spend much on this.</li><li>Spend on 24/7 electricity , for electricity backup again we need to spend on DG setup or generators</li><li>To keep the devices cool , we need 24/7 AC.</li><li>what if traffic increases on any application hosted on physical server, we need to purchase another server to handle such traffic</li><li>What if we need to upgrade the existing hardware which has 4GB RAM and upgradation requires 8GB RAM then we need to spend accordingly</li><li>Every hardware has an expiry date , once expired we have to purchase new hardware. And that expired system has no return value.</li><li>We have to hire IT engineers to manage physical devices.</li></ul><p>Despite being expensive and having so many drawbacks , Some companies still prefer on-premises infrastructure for various reasons like</p><ul><li>Banks have sensitive data and by using On-premises systems they can ensure data security. Also, they can have direct control over the systems.</li><li>Companies can customize their infrastructure according to their needs</li><li>Some companies prefer low latency, By hosting their application in on-premises systems they can ensure the low latency and better performance for their critical applications</li><li>There are some companies which operate in the region where there is poor internet connectivity. By using on-premises they can ensure continuous availability of the systems.</li></ul><p>Thinking about on-premises infrastructure can bring back memories of how things used to be in the past. But now, things have changed with cloud computing. It has made life easier for organizations. They don’t need to worry about buying and maintaining their own servers. Instead, they can rent resources from cloud providers, which saves their money. They can easily scale up or down based on their needs, and they can access their data and applications from anywhere in the world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e2108ad738d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtualization VS. Containerization]]></title>
            <link>https://medium.com/@nishakeswani/virtualization-vs-containerization-bc6bf436ac3e?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc6bf436ac3e</guid>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 09:03:55 GMT</pubDate>
            <atom:updated>2023-01-29T09:03:55.606Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s get back to those times when virtualization and containerization was not in picture.</p><p>When we needed to build any application, we used to follow below steps:</p><p>STEP1: Create Virtual Machine with operating system of your choice.</p><p>STEP2: Install latest patches and other dependencies that application might require.</p><p>STEP3: Install application code and configure it so that it can run on the machine.</p><p>STEP4: Once the machine is ready, we need to monitor it and ensure that all the latest patches are installed on the machine.</p><p>This is how we used to deploy an application on our physical servers manually.</p><p>Let’s suppose we run clothing business and we have expanded that business by creating a website and application so that customers can purchase clothes online as well.</p><p>This online business includes product listing, billing, user accounts and many more. Each need to be managed by multiple servers.</p><p>To manage such servers, we might lead to many problems like:</p><ul><li>We might miss some servers to update.</li><li>If any error occurs, it would be difficult to find and troubleshoot from such large number of servers.</li><li>It would be difficult to troubleshoot the entire system.</li></ul><p>To overcome from such problems, <strong>Virtualization</strong> was introduced.</p><p>Now, you must be thinking what&#39;s that <strong>virtualization</strong>?</p><p>So, here we go…</p><p>The word “<strong>Virtual</strong>” means <strong>something that physically does not exist</strong>. We have a concept in the computing world , know as <strong>Virtualization</strong> which help us to create virtual computing environment whether it is virtual server, storage, network, operating system and many more.</p><p>Virtualization is a process that allows for more efficient utilization of physical computer hardware. This enable us to run more than one <strong>virtual machine</strong> with multiple different operating systems on a single physical server. It actually gives us an illusion of using physical machine directly.</p><p>Virtual machine is also known as <strong>Guest machine</strong> and on which this guest machine is hosted is known as <strong>Host machine</strong>. You know the interesting fact about virtual machine is its existence since 1960s when IBM created first virtual machine to provide interactive access to a mainframe server.</p><p>Virtualization plays an important role in cloud computing these days. It allows cloud users to use resources that they require and when they require. Cloud service providers like AWS, AZURE, GCP , IBM Cloud etc. use their physical datacenters to provide virtual resources to the cloud users online through internet in a “pay-as-you-go” style. They can also scale those resources cost effectively in order to serve the growing market.</p><p>In virtualization, There is an abstraction layer between operating system and a hardware. It is basically a software run on host machine, is known as <strong>Hypervisor. </strong>It manages resources which are allocated from physical machine to virtual environment.</p><p>There are 2 types of hypervisors:</p><ol><li><strong>TYPE 1:</strong> This hypervisor installed directly on the top of Physical hardware. Also known as <strong>Bare metal hypervisor</strong>. This is one of the most used hypervisors available in the market. This provide low latency and high security.<br>Examples: VMWare Esxi, Hyper-V</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*_lokrRe-JmdbRw5DHLOgxQ.png" /></figure><p>2. <strong>TYPE 2:</strong> In Type2 Hypervisor, there is a layer of operating system between Hypervisor and physical hardware. Usually they have high latency than type1. <br>Examples: Oracle Virtual Box, VMWare workstation, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*aA2NKu9Dn_Lg4mK6hXNAeA.png" /></figure><p>Once the hypervisor is installed, You can start creating multiple virtual machines with different operating systems like Linux, windows , Unix, mac etc. They are completely independent from one another. They are portable as well. You can easily move virtual machines from one hypervisor to another on a completely different machine almost immediately.</p><p>One of the key benefits is that you do not need to manage multiple physical servers instead you can have multiple virtual machines on single physical hardware using virtualization technique. Here you are saving electricity and maintenance cost!</p><p>Well! There are multiple problems which we face in virtualization as well like performance overhead, upfront cost, maintenance of both physical and virtual server, etc. To overcome those problems, containerization was introduced.</p><p>Now, Let’s understand what is <strong>Containerization</strong>?</p><p>Containerization is a technique to bind any application software code with all the necessary components like libraries, configuration files and all other dependencies which are required to run code on any infrastructure.</p><p>This actually creates a lightweight executable environment which is know as “Container”. Containers are an essential component in DevOps.</p><p>This technique have made SDLC (software development life cycle) process much easier and bugs free. In virtualization what happens generally, we create an application on one VM with OS let’s say Ubuntu version x and when we run the same application on ubuntu version y, It throws multiple bugs and errors.</p><p>Containerization helps us to overcome with this problem by binding the software application code together with all the dependencies required to run the code. This container is completely stand alone and abstracted away from the host operating system due to which it becomes portable and it can be run on any platform. This speeds up the software development process.</p><p>Each container is isolated from one another. Any irruption or failure happens in one container does not affect another container’s process.<br>hence, provides fault isolation and increase Security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*s1GA4wrDTegNbN_LPJOIFA.png" /></figure><p>Containers are easy to setup compared to virtual machines. They do not require complete guest operating system. They require little memory to setup and they load quickly.</p><p>Docker and Kubernetes are very popular which uses containerization technology. Docker is helpful to manage small applications while Kubernetes manages large enterprise applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc6bf436ac3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps: CI/CD]]></title>
            <link>https://medium.com/@nishakeswani/devops-ci-cd-50fcb2a6ee34?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/50fcb2a6ee34</guid>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Wed, 11 Jan 2023 15:58:16 GMT</pubDate>
            <atom:updated>2023-01-11T15:58:16.327Z</atom:updated>
            <content:encoded><![CDATA[<p>Well! If we closely look at the diagram of DevOps, It actually contains two automated process: Continuous Integration and Continuous Delivery/ Deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/0*mgxgO0-fKx-uGECt" /></figure><p><em>Refer my first blog “DevOps: let the journey begin” </em><a href="https://medium.com/@nishakeswani.keswani/devops-let-the-journey-begin-a6d3169dfd3d"><em>https://medium.com/@nishakeswani.keswani/devops-let-the-journey-begin-a6d3169dfd3d</em></a></p><p>Generally, Two teams work together to achieve the target i.e. developers team and operations team.</p><p>Let’s See, How it actually works!</p><p>Here , Different developers write their codes to create a software and keep them in a centralized repository which is known as <strong>Version Control System(VCS). </strong>Developers pull and push their codes multiple times on a regular basis from such repositories.</p><p>Let’s Suppose developers have written their code completely. <br>Now, Build server will fetch the code ,test and evaluate it which will generate the software artifacts.</p><p>These software artifacts will get packaged in some specific format like Zip/tar/exe/dll etc. and get stored in software repository from where it will be shipped to the servers for further testing.</p><p>Once the code pass the testing process, It is than shipped to the production server and that&#39;s how the whole process works!</p><p>Now, What if software testers find lot of bugs and errors in the code. What if it fails at build process itself and unable to create proper software artifacts? Developers took so much time to complete that code. Now this would be difficult for them to rewrite the code and resolve the issue.</p><p>Don’t you think this could have been much easier if the bugs and errors were detected at the early stage of the process? The solution to this is a very simple. Rather than waiting for the complete code , team can implement a continuous process that will take the code after every commit, built and test it and if find any error send back to the developer to re-commit with new code but as developers do this several times in a day, so it’s not possible to build, test &amp; release every time manually.</p><p>Its better to automate the process!</p><p>So now whenever the developer commits any code and the automated process will fetch the code, build and test it and if finds any bug or error, it automatically send a notification to the developer. Than, he or she will fix the code and commit it again. If all seems good, then it will generate the artifact and store it in a software repository.</p><p>This automated process is called <strong>continuous integration(CI).</strong></p><p><strong>Continuous Delivery(CD)</strong> is also an automated process. Let’s see how!</p><p>Well, we have already seen in the CI process that every time developer commit the code it will be build and get tested automatically .The goal of CI is to detect defects in the beginning itself and smoothen the process.</p><p>Once artifacts get generated from CI, Ops team is requested to deploy those artifacts on servers for further testing and at times this deployment also fails, on which both the teams need to work together to fix the issues.</p><p>Deployment is not just about shipping the software to the servers. It’s actually more than that which include server provisioning, installation, configuration, networking etc.</p><p>After the manual deployment, information will be sent to the Quality assurance team for testing. There is too much of human intervention and manual work in this process.</p><p>So, Its better to automate it as well.</p><p>There are a lot of automation tools available in the market , like ansible, puppet, chef for system configuration, terraform for cloud infrastructure, Jenkins for CICD automation and many more.</p><p>Ops team will write automation code for deployment, testers will write automation code for software testing and sync it with developers source code.<br>So now we have a automated process where all three teams and processes are integrated together.</p><p>This is a <strong>continuous delivery (CD)</strong>.</p><p>Happy Learning :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50fcb2a6ee34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps — Let the journey begin!]]></title>
            <link>https://medium.com/@nishakeswani/devops-let-the-journey-begin-a6d3169dfd3d?source=rss-a56be7eb450b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6d3169dfd3d</guid>
            <dc:creator><![CDATA[Nisha keswani]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 13:41:22 GMT</pubDate>
            <atom:updated>2023-01-10T13:41:22.675Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DevOps — Let the journey begin!</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/0*n8LRQTHR08n5ohiM" /></figure><p>Do you know , DevOps can accomplish tasks in minutes!</p><p>Well Yes! Now-a-days, Organizations adopting DevOps at such a rapid pace so that they can focus more on their business or the product.</p><p>Lets Suppose client wants to expand his/her business online through a mobile app. So, He/She would require a team of developers, testers and admin, who can accomplish this task.</p><p>So, Client approaches software consulting firm where project manager explains about software development process and head of operation team explains how mobile app will be hosted on the cloud server.</p><p>After all the discussion, client agrees with all the points and sign the deal.</p><p>Now , Team starts its work and follows SDLC process to achieve the target.</p><p>Software development is very organized process.</p><p>let’s understand the complete SDLC lifecycle which we used to follow when DevOps was not in the picture. In this lifecycle , Software developers and Operation team follows few steps to create any software or an application. <br>Those steps are described below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/0*eYi2FBEJwafAtfxT" /></figure><p><strong>Requirements gathering and analysis : </strong>It is the first and the crucial step where information will be collected like product features, Who will the users and their requirements, current state of the market, sales, etc. whatever the information will be collected at this stage should be precise and clear.</p><p><strong>Planning: </strong>In this stage we will define what exactly we want? All the requirements are defined in a particular document with their cost and resources required for such implementation and also the risks associated with it.</p><p><strong>Designing:</strong> Here, Architects will design the software based on the inputs from previous phase. They will produce design documents which will be a roadmap for the developers.</p><p><strong>Development: </strong>This is the stage where developers will write the software code based on the design. They use multiple programming languages and tools like compiler, interpreter etc. to built the software or an application.</p><p><strong>Testing: </strong>In this phase, the software will be tested by software testers. This step is necessary to perform in order to have a smooth execution. Software will than be promoted to production only after fixing all the issues.</p><p><strong>Deployment:</strong> At this stage, software is deployed to the production environment so users can start using it. It’s the responsibility of system administrator and the entire operations team to make sure software is up and running fine. After the complete deployment, based on the feedback product get released and than maintenance comes into picture.</p><p>This entire process is called a <strong>Software Development Lifecycle (SDLC).</strong></p><p>In SDLC, we have several different models like Waterfall model, Agile , Spiral, etc.</p><p>All the models gives you almost similar results but in an different way. we choose one of them based on different factors like cost, risk and time taken to reach your final destination</p><p>For Example, In a <strong>waterfall model</strong>, Each phase must be completed before the next phase can begin. Requirement completes, then only planning begins and so on. It is very difficult here to go back and make any changes based on the requirements.</p><p>Here, what if client is not sure about the requirements, what if He/She keeps on adding things during the lifecycle. In this case waterfall model will not work instead we can go for <strong>Agile methodology</strong> where everything is divided into small parts. Demonstration of the features can be given after every iteration and based on the feedback, developers can move forward to the next step.</p><p>Let suppose team has opted <strong>Agile methodology </strong>to meet the client’s requirement. Developers started coding after all the planning. Than they instructed operations team to deploy code on the servers so it can be further tested by the software testers.</p><p>The operations team started deploying the code to the server as per the instructions. But at times testers are not able to access the servers or even the test cases are failing multiple times. Here, all the bugs and issues are fixed in every iteration.</p><p>Ops team is tired with this regular deployment process. There is no clear instruction which causes deployment failures. They are also occupied with production support. They need to maintain system uptime all the time.</p><p>In between these failures and fixes, Team miss the deadline of demonstration of the final product to the client. This happen due to the lack of co-ordination between developer and operation team.</p><p>Developers complaints about delay in deployment and operation team complaints about unclear instructions.</p><p>So Here,<strong> DevOps </strong>comes into picture to overcome such issues.</p><p>DevOps says that everyone has to work collaboratively, communicate effectively, and integrate the entire software code delivery process. Developer team has to understand the ops concept to communicate with ops team more effectively And, Ops Team also need to learn Agile concepts so that they can collaborate with dev team.</p><p>Automation is the most important concept which every team needs to learn.</p><p>In DevOps, Each and every task is automated in the delivery process by every team, so the whole process can be integrated together.</p><p>In Complete DevOps automated process there is no human intervention, so no human errors. It is a repeatable and timesaver, of course. Any request now can be delivered very quickly because everything is automated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6d3169dfd3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>