<?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 Praveen kumar on Medium]]></title>
        <description><![CDATA[Stories by Praveen kumar on Medium]]></description>
        <link>https://medium.com/@praveenkumarjc323?source=rss-16f8368317fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*x59_Sw9fny3I8GSO</url>
            <title>Stories by Praveen kumar on Medium</title>
            <link>https://medium.com/@praveenkumarjc323?source=rss-16f8368317fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 06:47:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@praveenkumarjc323/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[Day 2]]></title>
            <link>https://medium.com/@praveenkumarjc323/day-2-512000889071?source=rss-16f8368317fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/512000889071</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Praveen kumar]]></dc:creator>
            <pubDate>Thu, 26 Sep 2019 03:25:41 GMT</pubDate>
            <atom:updated>2019-09-26T03:25:41.594Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Prompting The User</strong></p><p>Developers often have a need to interact with users, either to get data or to provide some sort of result. Most programs today use a dialog box as a way of asking the user to provide some type of input. While Python provides us with two inbuilt functions to read the input from the keyboard.</p><pre>num1=int(input(<strong>&quot;enter num1:&quot;</strong>))<br>num2=int(input(<strong>&quot;enter num2:&quot;</strong>))<br>num3=num1+num2<br>print(num3)</pre><p><strong>Condistional Statements</strong></p><p>Decision-making in programming, much similar to decision-making in real life, is quite important as it helps us decide what the program should do next. Decision-making helps in deciding the flow of execution of the program. Decision-making is implemented using if else in Python. The conditional logic in Python is primarily based on the ‘if else’ structure.</p><p><strong>if statement:</strong></p><p>Starting from the if statement, it is the most basic decision-making statement. It simply decides whether a particular code block will be executed or not on the basis of the condition provided in the if statement. If the condition provided in the if statement is true, then the code block is executed, and if it’s false then the code block is not executed.</p><p>Syntax:</p><pre>if expression:<br>   statement_1<br>   statement_2<br>   .....</pre><p><strong>if..else statement</strong></p><p>If statement in Python tells the program what to do if the condition is true. In case the condition is false, the program just goes on to execute what comes after if statements. In situations where we want the program to execute some statement if the condition is true and some other statement only if the condition is false, then we use if else in Python.</p><pre>syntax:<br>   if expression:<br>      statement_1<br>      .....<br>     else:<br>       statement_2<br>       ......</pre><p><strong>if .. elif …else statement</strong></p><p>Here, the elif stands for else if in Python. This conditional statement in Python allows us to check multiple statements rather than just one or two like we saw in if and if else statements. If the first if condition is true, then same as in the previous if and if else statements, the program will execute the body of the if statement.</p><pre>syntax:<br>  if expression1:<br>     statement-1<br>     .....<br> elif expression2:<br>     statement-2<br>      ......</pre><p><strong>For Loop</strong></p><p>In Python, for loops are constructed like so:</p><pre><strong>for</strong> [iterating variable] <strong>in</strong> [sequence]:<br>    [do something]</pre><p>The something that is being done will be executed until the sequence is over.</p><p>Let’s look at a for loop that iterates through a range of values:</p><pre><strong>for</strong> i <strong>in</strong> range(0,5):<br>   print(i)</pre><p>When we run the above code the output look like this:</p><pre>0<br>1<br>2<br>3<br>4</pre><p><strong>For loop Using Range:</strong></p><pre><strong>for</strong> i <strong>in</strong> range(6):<br>   print(i)</pre><p><strong>The While Loop:</strong></p><p>With the while loop we can execute a set of statements as long as a condition is true.</p><p>Example:</p><p>Print i as long as i is less than 6:</p><pre>count = 1<br>while count &lt;= 10:<br>    print(count)<br>    count += 1</pre><p>That’s all for the Day 2</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=512000889071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Very First Day at Tarzan Skills]]></title>
            <link>https://medium.com/@praveenkumarjc323/the-very-first-day-at-tarzan-skills-275b08fde0de?source=rss-16f8368317fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/275b08fde0de</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Praveen kumar]]></dc:creator>
            <pubDate>Wed, 25 Sep 2019 10:20:41 GMT</pubDate>
            <atom:updated>2019-09-25T10:20:41.857Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Firstly I would like to Thank Tarzan Skills,</strong></p><p>Today we have created Accounts like Git hub, StackOverflow, Linkedin, Hackerrank,Medium.</p><p>And Learnt about Basic commandsof Git Hub like,</p><p>git add &lt;filename&gt;</p><p>git add . — this is used to add all the files which is created on particular Day</p><p>git commit -m “message”</p><p>git push origin master — this is used to push into Master</p><p>git branch branch-name</p><p>git check-out branch-name — to enter into the branch</p><p>git check-out master— to switch into the master</p><p>git push oringin branch name — this is used to push into Branch</p><p><strong>And Started With Python Programming</strong></p><p><strong>Printing “Hello World”</strong></p><p>Print(”Hello-World”)</p><p><strong>Printing “Number”</strong></p><p>print(3)</p><p><strong>Math Operations</strong></p><p>print(1+2)</p><p><strong>Python Slicing</strong></p><pre>s=<strong>&quot;HELLO WORLD&quot;<br></strong>print(s[0])<br>print(s[-1])<br>print(s[1:4])<br>print(s[:])<br>print(s[1:])<br>print(s[:1])<br>print(s[:4])<br>print(s[::-1])<br>print(s[:3])<br>print(s[1:7:2])</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=275b08fde0de" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>