<?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 Rojay chamlagain on Medium]]></title>
        <description><![CDATA[Stories by Rojay chamlagain on Medium]]></description>
        <link>https://medium.com/@rojaychamlagain5143?source=rss-9527177b9450------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*IK2QMVhILkQeOf9Y</url>
            <title>Stories by Rojay chamlagain on Medium</title>
            <link>https://medium.com/@rojaychamlagain5143?source=rss-9527177b9450------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:36:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rojaychamlagain5143/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[Understanding Variables and Data Types in Python]]></title>
            <link>https://medium.com/@rojaychamlagain5143/understanding-variables-and-data-types-in-python-78198bdc8ecb?source=rss-9527177b9450------2</link>
            <guid isPermaLink="false">https://medium.com/p/78198bdc8ecb</guid>
            <dc:creator><![CDATA[Rojay chamlagain]]></dc:creator>
            <pubDate>Thu, 14 Nov 2024 17:49:42 GMT</pubDate>
            <atom:updated>2024-11-14T17:49:42.072Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jj2ytEvOo6yAvont7Wg_Aw.jpeg" /><figcaption>generate by chatGPT</figcaption></figure><h4>What is variables in python ?</h4><p>Python variables are simply containers for storing the data value. Once you assign a value to a variable, you can use that variable in your program to refer to the data it holds.</p><p><strong>Creating a variable</strong></p><p>To create a variable in python, by using the = operator you simply give it a name and assign value</p><pre>#Example of a variable creation <br>name = &quot;Ram&quot; #variable name hold the string &quot;Ram&quot;<br>age = 15 # variable &#39;age&#39; hold the integer 25 as value </pre><p><strong>Point to remember</strong></p><ol><li>Must start with a latter or an underscore (_) but cannot staet with number</li><li>Variables name are case-sensitive (age and Age are different variables )</li></ol><h3>Data Type in Python</h3><p>Python provide several data type to represent diffrent kinds of information. Some of the common data types are:</p><p><strong>1. Number Types</strong></p><p><strong>Integer (int)</strong>: Represent whole number without decimals points</p><pre>age = 25 # age is integer</pre><p><strong>Float (float):</strong> Represent number with decimal</p><pre>rating = 4.5 #rating is float</pre><p>2. <strong>String (str):</strong> A string is a sequence of characters ( letter, number, symbol) enclosed in quotes ( single, double or triple).</p><pre>response = &quot;i am doing okay&quot; </pre><p>3. <strong>Boolean (bool)</strong>: Boolean data type represent one of two values: <strong>True</strong> or <strong>False.</strong> Boolean are often used conditional statement</p><pre>is_he_ram = Ture #is_he_ram is boolen </pre><p>4.<strong> List ( list )</strong> : List is used to store multiple items in a single variablewhich are ordered and mutable (changeable). Lists are created using square brackets:</p><pre>thislist = [&quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;]<br>print(thislist)</pre><p>5.<strong> Tuple ( tuple)</strong> : A tuple is an ordered, immutable (unchangable) collection of items, typically used when you want a sequance of values to remain constant.</p><pre>coordinates = (10, 20)  # coordinates is a tuple with two integers</pre><p>6.<strong> Dictionary ( dict ) :</strong> A <strong>dictionary</strong> is an unordered, mutable collection of key-value pairs, where each key is associated with a value.</p><pre>person = {&quot;name&quot;: &quot;Ram&quot;, &quot;age&quot;: 15}  # person is a dictionary with string keys and corresponding values</pre><p>7. <strong>Set ( set )</strong>: A <strong>set</strong> is an unordered collection of unique elements. Sets are useful for eliminating duplicate values and performing mathematical set operations.</p><pre>unique_numbers = {1, 2, 3, 4}  # unique_numbers is a set</pre><h4>Example: Using Variable and Data Type in python</h4><pre># Assigning different data types to variables<br>name = &quot;ram&quot;                   # String<br>age = 15                     # Integer<br>height = 4.9                   # Float<br>is_student = True             # Boolean<br>favorite_fruits = [&quot;apple&quot;, &quot;orange&quot;, &quot;banana&quot;]  # List<br>person_info = {&quot;name&quot;: &quot;Ram&quot;, &quot;age&quot;: 17}         # Dictionary<br><br># Printing the variables<br>print(type( name))<br>print(type(age))<br>print(type( height))<br>print(type(is_student))<br>print(type(favorite_fruits))<br>print(type(person_info))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*QLoyxTVEp2ESI-BwLBG1CQ.png" /><figcaption>This will be the output.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78198bdc8ecb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Guide of Python: Your First Program on Jupyter Notebook]]></title>
            <link>https://medium.com/@rojaychamlagain5143/a-beginners-guide-of-python-your-first-program-on-jupyter-notebook-75b32ca42fb8?source=rss-9527177b9450------2</link>
            <guid isPermaLink="false">https://medium.com/p/75b32ca42fb8</guid>
            <dc:creator><![CDATA[Rojay chamlagain]]></dc:creator>
            <pubDate>Thu, 14 Nov 2024 16:38:31 GMT</pubDate>
            <atom:updated>2024-11-14T16:55:31.709Z</atom:updated>
            <content:encoded><![CDATA[<p>Jupyter Notebook is the one of the best tool for beginners to practice and learn coding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*5EzBw6AU8wkkncN_3u-tpw.jpeg" /></figure><h3><strong>Step 1 : Setting Up your Jupyter Notebook</strong></h3><p>To begin, you’ll need to have Jupyter Notebook install on your computer. Skip the part if its already installed. otherwise, follow the instruction</p><ol><li>Install Python: Install Python from <a href="http://python.org/">Python.org</a></li><li>Install Jupyter: Install Jupyter using pip, python package manager. Open the terminal and enter the following command:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*cBYei9fa_Vbj1jO0DZtecg.png" /></figure><p>3. Lunch Jupyter Notebook: Type the following command to lunch Jupyter Notebook</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*eg4Bzk75gQP-qHtniNfAAA.png" /></figure><h3>Step 2: Creating a New Notebook</h3><p>Once you have Jupyter Notebook open in your browser, follow these steps to create your first Python notebook:</p><ol><li><strong>Go to the Jupyter Dashboard</strong>: You should see a list of files and folders in your current directory.</li><li><strong>Create a New Notebook</strong>: Click on the “New” button on the right, and select “Python 3” from the dropdown menu. This will open a new notebook with an empty cell.</li></ol><h3>Step 3 : Writing your first program</h3><p>Let’s begin with simple program that prints “Hello, World!”</p><ol><li>Type your first code: type the following code</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*Oqp-fOLVyeerKNVgv_aiSQ.png" /><figcaption>Run the code. It prints : Hello world!</figcaption></figure><p>Congratulations! You’ve just written and execute your first python program.</p><h3>Experiment with basic math operations. lets try these example also.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*NKHRInAPDIll0zlYLNKq9g.png" /></figure><p>You will see the result after running your program.</p><p>Hurray! you have complete your first program on python language. Share with your friend.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75b32ca42fb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Jupyter.]]></title>
            <link>https://medium.com/@rojaychamlagain5143/how-to-install-jupyter-ce4e05481331?source=rss-9527177b9450------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce4e05481331</guid>
            <dc:creator><![CDATA[Rojay chamlagain]]></dc:creator>
            <pubDate>Tue, 12 Nov 2024 03:49:46 GMT</pubDate>
            <atom:updated>2024-11-12T14:21:47.021Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Jupyter ?</strong></p><p>Jupyter is an open-source web application that allows users to create and share interactive documents that include code, text, data visualizations, and more. Jupyter Notebook supports over 40 programming languages, including Python, R, Julia, and Scala. Jupyter Notebook also allows users to execute cells in any order and showcases real-time code results and imagery.</p><p><strong>Why Jupyter is needed ?</strong></p><p>It allows you to run code, display the results, and add explanations, formulas, and charts all in one place. This makes your work more transparent, understandable, and reproducible. Jupyter Notebooks have become an essential part of the data science workflow in companies and organizations worldwide.</p><p><strong>How to install Jupyter ?</strong></p><p>To install Jupyter Notebook on Windows, you can:</p><ol><li><a href="https://medium.com/@rojaychamlagain5143/learning-first-day-of-python-adc8539fc668">Install Python</a></li><li>Open the Command Prompt by pressing Windows key + R and typing cmd</li><li>Type pip install jupyter to install Jupyter Notebook</li><li>Type jupyter notebook to start Jupyter Notebook</li></ol><p>Jupyter Notebook will open a new tab in your web browser after installation is complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JeB-wtnSzaUd8oWdLvC5_A.png" /><figcaption>example program on Jupyter Notebook interface.</figcaption></figure><p><strong>How to Reopen Jupyter on same directory ?</strong></p><p>1.Open the terminal,</p><p>2. Navigate to the directory where you want to save your notebook,</p><p>3. Type jupyter notebook. A browser window should open with the Jupyter Notebook interface</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce4e05481331" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning first day of Python]]></title>
            <link>https://medium.com/@rojaychamlagain5143/learning-first-day-of-python-adc8539fc668?source=rss-9527177b9450------2</link>
            <guid isPermaLink="false">https://medium.com/p/adc8539fc668</guid>
            <dc:creator><![CDATA[Rojay chamlagain]]></dc:creator>
            <pubDate>Sun, 10 Nov 2024 16:15:42 GMT</pubDate>
            <atom:updated>2024-11-11T01:32:19.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 1 Of Learning Python</h3><p>Python is a programming language that can be used for various tasks including :</p><ol><li>Web development : Python is used to build websites and web applications</li></ol><p>2. Software development : Python is use to develop software.</p><p>3. Data Science : Python is used for data analysis, visualization and machine learning</p><p>4. Search engine optimization : Python help SEO professionals analyse data identify issue and automation</p><p>and others various fields.</p><p>How to install python</p><ol><li>Visit the link <a href="https://www.python.org/">https://www.python.org/</a> and download</li><li>Download VS code <a href="https://code.visualstudio.com/">https://code.visualstudio.com/</a> and install</li><li>Go to command Prompt (CMD) on your computer and type ‘ python’ , it shows the python version and under &gt;&gt; line you can do calculation</li></ol><p><em>Python is install on your computer.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*_AGXXlRx3aB9HwgMBu9f-A.png" /></figure><p>Today I learn to download python and install on my computer and with the help of vs code my first python program is written.</p><p>{ print (‘ my name is ‘ * 100 ) // this print my name 100 times .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adc8539fc668" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>