<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SM</title>
    <description>The latest articles on DEV Community by SM (@amotbeli).</description>
    <link>https://dev.to/amotbeli</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1744202%2Fa91eb892-f926-48b2-b612-fdf6e19a0d01.png</url>
      <title>DEV Community: SM</title>
      <link>https://dev.to/amotbeli</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amotbeli"/>
    <language>en</language>
    <item>
      <title>Python - List Methods &amp; Tasks II</title>
      <dc:creator>SM</dc:creator>
      <pubDate>Thu, 01 Aug 2024 01:22:45 +0000</pubDate>
      <link>https://dev.to/amotbeli/python-list-methods-tasks-ii-2cmf</link>
      <guid>https://dev.to/amotbeli/python-list-methods-tasks-ii-2cmf</guid>
      <description>&lt;p&gt;Even though I had &lt;a href="https://colab.research.google.com/drive/1Hkm24xt632HQj3KFW9JKWWPIKyERFbU0?usp=sharing" rel="noopener noreferrer"&gt;done the tasks beforehand&lt;/a&gt;, watching them &lt;a href="https://www.youtube.com/watch?v=5rvwP9sM-UU" rel="noopener noreferrer"&gt;being done in class&lt;/a&gt; today taught me new things.&lt;/p&gt;

&lt;p&gt;I learned that I could use Python's in-built list methods more, instead of falling back to &lt;code&gt;for&lt;/code&gt; loop all the time.&lt;/p&gt;

&lt;p&gt;For example, I could use the &lt;code&gt;extend&lt;/code&gt; method (rather than &lt;code&gt;for&lt;/code&gt; loop and &lt;code&gt;append&lt;/code&gt; method) to expand a list with the contents of another list. Likewise, I could use the &lt;code&gt;clear&lt;/code&gt; method (rather than &lt;code&gt;for&lt;/code&gt; loop and &lt;code&gt;remove&lt;/code&gt; method) to empty a list.&lt;/p&gt;

&lt;p&gt;Unless there is a specific need for using the &lt;code&gt;for&lt;/code&gt; loop, like I need to check a condition on individual elements before adding them to or removing them from the list, the code looks much cleaner this way.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Python - List Methods &amp; Tasks</title>
      <dc:creator>SM</dc:creator>
      <pubDate>Tue, 30 Jul 2024 23:40:36 +0000</pubDate>
      <link>https://dev.to/amotbeli/python-list-methods-tasks-1kpo</link>
      <guid>https://dev.to/amotbeli/python-list-methods-tasks-1kpo</guid>
      <description>&lt;p&gt;Today I learned about the following list methods in Python.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;append&lt;/li&gt;
&lt;li&gt;insert&lt;/li&gt;
&lt;li&gt;remove&lt;/li&gt;
&lt;li&gt;pop&lt;/li&gt;
&lt;li&gt;index&lt;/li&gt;
&lt;li&gt;sort&lt;/li&gt;
&lt;li&gt;reverse&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then I did the tasks. &lt;a href="https://colab.research.google.com/drive/1Hkm24xt632HQj3KFW9JKWWPIKyERFbU0?usp=sharing" rel="noopener noreferrer"&gt;Link here.&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Day 2 - Python Basics</title>
      <dc:creator>SM</dc:creator>
      <pubDate>Mon, 15 Jul 2024 12:03:42 +0000</pubDate>
      <link>https://dev.to/amotbeli/day-2-python-basics-4ghb</link>
      <guid>https://dev.to/amotbeli/day-2-python-basics-4ghb</guid>
      <description>&lt;p&gt;On the second day, we learned about various data types in Python.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>print()</title>
      <dc:creator>SM</dc:creator>
      <pubDate>Tue, 09 Jul 2024 16:48:21 +0000</pubDate>
      <link>https://dev.to/amotbeli/print-4b46</link>
      <guid>https://dev.to/amotbeli/print-4b46</guid>
      <description>&lt;p&gt;In the second live session of the course, I learned about &lt;code&gt;print()&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;The quiz was fun.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>Hello World</title>
      <dc:creator>SM</dc:creator>
      <pubDate>Mon, 08 Jul 2024 18:01:26 +0000</pubDate>
      <link>https://dev.to/amotbeli/hello-world-9hp</link>
      <guid>https://dev.to/amotbeli/hello-world-9hp</guid>
      <description>&lt;p&gt;Today, I joined a free online course on Python by the Kaniyam Foundation. And, this blog is to document my progress throughout the course.&lt;/p&gt;

&lt;p&gt;In the first live session this evening, a lot of course details were shared. Helpful information was provided regarding the installation of Python on our machines. As is customary, we began by learning to print "Hello, World!" using the &lt;code&gt;print&lt;/code&gt; statement. Towards the end of the session, the importance of free and open-source software (FOSS) was also emphasized.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
