<?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>Forem: Onaolapo-11</title>
    <description>The latest articles on Forem by Onaolapo-11 (@onaolapo11).</description>
    <link>https://forem.com/onaolapo11</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%2F3421776%2F26cf91be-33b7-4c43-9f27-105c93b0ec65.png</url>
      <title>Forem: Onaolapo-11</title>
      <link>https://forem.com/onaolapo11</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/onaolapo11"/>
    <language>en</language>
    <item>
      <title>The Sieve of Eratosthenes obtains the primes in a given range by eliminating the multiples of primes beginning from 2</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Fri, 10 Apr 2026 21:57:56 +0000</pubDate>
      <link>https://forem.com/onaolapo11/the-sieve-of-eratosthenes-obtains-the-primes-in-a-given-range-by-eliminating-the-multiples-of-5fep</link>
      <guid>https://forem.com/onaolapo11/the-sieve-of-eratosthenes-obtains-the-primes-in-a-given-range-by-eliminating-the-multiples-of-5fep</guid>
      <description>&lt;p&gt;[Reset] Day 6 [April 10th, 2026]&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
"Day 3-4: Control structures (if-else, loops)" (Meta AI, personal communication, August 8, 2025)&lt;/p&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To solve, the current task: "Create a Python Script where you find all prime numbers between 1 and 200", I learnt that an efficient method that can be used is the Sieve of Eratosthenes (Geeksforgeeks, 2025; Loucka, 2023). &lt;/li&gt;
&lt;li&gt;The Sieve of Eratosthenes obtains the primes in a given range by eliminating the multiples of primes beginning from 2 (Geeksforgeeks, 2025; Loucka, 2023). AS you progress, you will discover some multiples are eliminated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SIEVE OF ERATOSTENES ALGORITHM (Geeksforgeeks, 2025) [With my additional notes]:&lt;/p&gt;

&lt;p&gt;def sieve(num):   #num is the extent for which we want to check for primes&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#we have to monitor if the numbers are prime&lt;br&gt;
prime = [True] * (num + 1)   #we have + 1 because the number in focus has to be captured&lt;br&gt;
p = 2     #2 is the lowest prime number
&lt;h1&gt;
  
  
  Sieve of Erastostenes algorithm
&lt;/h1&gt;

&lt;p&gt;while p * p &amp;lt;= num: #the product of the prime less than or equal to num. Why? The Sieve of Eratosthenes obtains the primes in a given range by eliminating the multiples of primes beginning from 2.&lt;br&gt;
    if prime[p]: #from the prime list at index p #showing us p = True at that particular prime&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    #Mark all multiples of p as non-prime
    for i in range (p * p, num + 1, p):   #this range starts from the square of p and increases as multiples in p steps
        prime[i] = False
p += 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
  
  
  creating the list of all prime numbers
&lt;/h1&gt;

&lt;p&gt;res = []&lt;br&gt;
for p in range(2, n + 1):&lt;br&gt;
    if prime[p]:&lt;br&gt;
        res.append(p)&lt;br&gt;
return res&lt;br&gt;
&lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Evaluating the code below outputs the prime numbers between 1 and 200:&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == "&lt;strong&gt;main&lt;/strong&gt;":&lt;br&gt;
    n = 200&lt;br&gt;
    res = sieve(n)&lt;br&gt;
    for ele in res:&lt;br&gt;
        print(ele, end=' ')&lt;/p&gt;

&lt;p&gt;Output:&lt;/p&gt;

&lt;p&gt;2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 &lt;/p&gt;

&lt;p&gt;Summary:&lt;br&gt;
The Sieve of Eratosthenes obtains the primes in a given range by eliminating the multiples of primes beginning from 2.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Geeksforgeeks. (2025, July 23). &lt;em&gt;Sieve of Eratosthenes&lt;/em&gt;. &lt;a href="https://www.geeksforgeeks.org/dsa/sieve-of-eratosthenes/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/dsa/sieve-of-eratosthenes/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Loucka, T. (2023, October 30). &lt;em&gt;What are prime numbers?&lt;/em&gt; Doodlelearning. &lt;a href="https://doodlelearning.com/maths/skills/numbers/prime-number-guide" rel="noopener noreferrer"&gt;https://doodlelearning.com/maths/skills/numbers/prime-number-guide&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Sieve of Eratosthenes: An efficient method to find a set of prime numbers up to a certain point.</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Sun, 22 Mar 2026 23:29:00 +0000</pubDate>
      <link>https://forem.com/onaolapo11/sieve-of-eratosthenes-an-efficient-method-to-find-a-set-of-prime-numbers-up-to-a-certain-point-3m8g</link>
      <guid>https://forem.com/onaolapo11/sieve-of-eratosthenes-an-efficient-method-to-find-a-set-of-prime-numbers-up-to-a-certain-point-3m8g</guid>
      <description>&lt;p&gt;[Reset] Day 5 [March 22nd, 2026]&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
"Day 3-4: Control structures (if-else, loops)" (Meta AI, personal communication, August 8, 2025)&lt;/p&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To solve, the current task: "Create a Python Script where you find all prime numbers between 1 and 200", I learnt that an efficient method that can be used is the Sieve of Eratosthenes (Geeksforgeeks, 2025; Loucka, 2023). I will study this better in my next session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
I learnt that an efficient method that can be used to find a set of prime numbers up to a certain point is the Sieve of Eratosthenes.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Geeksforgeeks. (2025, July 23). &lt;em&gt;Sieve of Eratosthenes&lt;/em&gt;. &lt;a href="https://www.geeksforgeeks.org/dsa/sieve-of-eratosthenes/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/dsa/sieve-of-eratosthenes/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Loucka, T. (2023, October 30). &lt;em&gt;What are prime numbers?&lt;/em&gt; Doodlelearning. &lt;a href="https://doodlelearning.com/maths/skills/numbers/prime-number-guide" rel="noopener noreferrer"&gt;https://doodlelearning.com/maths/skills/numbers/prime-number-guide&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.)._ Python_. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>maths</category>
    </item>
    <item>
      <title>I looked at the Fibonacci sequence</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Sat, 21 Mar 2026 21:07:16 +0000</pubDate>
      <link>https://forem.com/onaolapo11/i-looked-at-the-fibonacci-sequence-1817</link>
      <guid>https://forem.com/onaolapo11/i-looked-at-the-fibonacci-sequence-1817</guid>
      <description>&lt;p&gt;[Reset] Day 4 [March 21st, 2026]&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
"Day 3-4: Control structures (if-else, loops)" (Meta AI, personal communication, August 8, 2025)&lt;/p&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I looked at the Fibonacci sequence and nesting for loops.&lt;/li&gt;
&lt;li&gt;Current task to solve: "Create a Python Script where you find all prime numbers between 1 and 200."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
I looked at the Fibonacci sequence&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Arrays in Python differ from Lists and Tuples</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Fri, 20 Mar 2026 22:05:17 +0000</pubDate>
      <link>https://forem.com/onaolapo11/arrays-in-python-differ-from-lists-and-tuples-33mc</link>
      <guid>https://forem.com/onaolapo11/arrays-in-python-differ-from-lists-and-tuples-33mc</guid>
      <description>&lt;p&gt;&lt;strong&gt;[Reset] Day 3 [March 20th, 2026]&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately didn't keep to my original goals, but here's a reset. Based on the Meta AI structured plan for 12-weeks (Meta AI, personal communication, August 8, 2025), I am on Day 3. Hence, final date for the goal is June 11th, 2026. If I move fast, I can beat it.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
"Day 3-4: Control structures (if-else, loops)" (Meta AI, personal communication, August 8, 2025)&lt;/p&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Software Development' textbook by Halvorsen (n.d.):&lt;br&gt;
In previous tutorials, I have learnt about if-else statements, as well as about for and while loops.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Arrays can store multiple values at the same time.&lt;/li&gt;
&lt;li&gt;Arrays in Python differ from Lists and Tuples (Geeksforgeeks, 2025)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
Arrays in Python differ from Lists and Tuples&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Geeksforgeeks. (2025, July 15). &lt;em&gt;Python list vs array vs tuple&lt;/em&gt;. &lt;a href="https://www.geeksforgeeks.org/python/python-list-vs-array-vs-tuple/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/python/python-list-vs-array-vs-tuple/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Why integer objects in python are not iterable</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Fri, 16 Jan 2026 22:39:46 +0000</pubDate>
      <link>https://forem.com/onaolapo11/why-integer-objects-in-python-are-not-iterable-283d</link>
      <guid>https://forem.com/onaolapo11/why-integer-objects-in-python-are-not-iterable-283d</guid>
      <description>&lt;p&gt;Day 81 [January 16th, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 80 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 3: Python Programming Fundamentals&lt;/p&gt;

&lt;p&gt;While doing the Hands-on-Lab for the topic on Loops (Santarcangelo, n.d.),&lt;/p&gt;

&lt;p&gt;After inputting this code:&lt;br&gt;
dates = [1997,2001,20003]&lt;br&gt;
N = len(dates)&lt;/p&gt;

&lt;p&gt;for i in N:&lt;br&gt;
    print(dates[1])&lt;/p&gt;

&lt;p&gt;I got a TypeError:&lt;/p&gt;




&lt;p&gt;TypeError                                 Traceback (most recent call last)&lt;br&gt;
Cell In[8], line 4&lt;br&gt;
      1 dates = [1997,2001,20003]&lt;br&gt;
      2 N = len(dates)&lt;br&gt;
----&amp;gt; 4 for i in N:&lt;br&gt;
      5     print(dates[1])&lt;/p&gt;

&lt;p&gt;TypeError: 'int' object is not iterable&lt;/p&gt;

&lt;p&gt;So a question came to mind: 'Why are integer objects in python not iterable?'&lt;br&gt;
I found this:&lt;/p&gt;

&lt;p&gt;Why integer objects in python are not iterable (Ramakrishna, 2021):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contain singular integer values&lt;/li&gt;
&lt;li&gt;Do not have '&lt;strong&gt;iter&lt;/strong&gt;' method&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;print(dir(int)) shows if an object contains '&lt;strong&gt;iter&lt;/strong&gt;' method or not (Ramakrishna, 2021).&lt;/p&gt;

&lt;p&gt;Summary:&lt;br&gt;
I learnt why integer objects in python are not iterable.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Ramakrishna, S. (2021, September 9). &lt;em&gt;How to fix the python typerror: ‘int’ object is not Iterable&lt;/em&gt;. Hackernoon. &lt;a href="https://hackernoon.com/how-to-fix-the-python-typeerror-int-object-is-not-tterable" rel="noopener noreferrer"&gt;https://hackernoon.com/how-to-fix-the-python-typeerror-int-object-is-not-tterable&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>enumerate() function is used as a counter in python when iterating data</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Sun, 11 Jan 2026 17:52:35 +0000</pubDate>
      <link>https://forem.com/onaolapo11/enumerate-function-is-used-as-a-counter-in-python-when-iterating-data-n5i</link>
      <guid>https://forem.com/onaolapo11/enumerate-function-is-used-as-a-counter-in-python-when-iterating-data-n5i</guid>
      <description>&lt;p&gt;&lt;strong&gt;Day 80 [January 11th, 2025]&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 79 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 3: Python Programming Fundamentals&lt;/p&gt;

&lt;p&gt;enumerate() function is used as a counter in python when iterating data, enabling to monitor the item and its position in the list (Geeksforgeeks, 2025; Santarcangelo, n.d.; Meta AI, personal communication, January 11, 2025).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;&lt;br&gt;
enumerate() function is used as a counter in python when iterating data&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;References:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Geeksforgeeks. (2025, September 12). &lt;em&gt;Enumerate() in python&lt;/em&gt;. &lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/python/enumerate-in-python/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/python/enumerate-in-python/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>I completed the section on Conditions and Branching</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Mon, 08 Dec 2025 22:59:05 +0000</pubDate>
      <link>https://forem.com/onaolapo11/i-completed-the-section-on-conditions-and-branching-47mm</link>
      <guid>https://forem.com/onaolapo11/i-completed-the-section-on-conditions-and-branching-47mm</guid>
      <description>&lt;p&gt;Day 79 [December 8th, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 78 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 3: Python Programming Fundamentals&lt;/p&gt;

&lt;p&gt;Conditions and Branching&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The block of code under if statement only run when the if condition is True&lt;/li&gt;
&lt;li&gt;Comparison of strings is lexicographically-sensitive (comparison is done on a character by character basis dependent on how the characters are ordered in Unicode or ASCII) (see also Google, 2025a; Google, 2025b). That's why "10"&amp;lt;"7" evaluates to True (the first characters are compared).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
I completed the section on Conditions and Branching.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Google. (2025a). &lt;em&gt;Google Search with AI&lt;/em&gt;. [Large language model]. &lt;a href="https://www.google.com/search?q=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;oq=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRigATIHCAUQIRiPAjIHCAYQIRiPAjIHCAcQIRiPAtIBCTEyMzYwajBqOagCBrACAfEFn-fcgSi5fxs&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" rel="noopener noreferrer"&gt;https://www.google.com/search?q=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;oq=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRigATIHCAUQIRiPAjIHCAYQIRiPAjIHCAcQIRiPAtIBCTEyMzYwajBqOagCBrACAfEFn-fcgSi5fxs&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google. (2025b). &lt;em&gt;Google Search with AI&lt;/em&gt;. [Large language model]. &lt;a href="https://www.google.com/search?q=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;oq=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIKCAEQABiABBiiBDIHCAIQABjvBTIKCAMQABiABBiiBNIBBzQ3NmowajmoAgawAgHxBWWZfDjzK9C2&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" rel="noopener noreferrer"&gt;https://www.google.com/search?q=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;oq=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIKCAEQABiABBiiBDIHCAIQABjvBTIKCAMQABiABBiiBNIBBzQ3NmowajmoAgawAgHxBWWZfDjzK9C2&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). P_ython for data science, AI &amp;amp; development_ [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Comparison of strings is lexicographically-sensitive</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Tue, 02 Dec 2025 00:03:24 +0000</pubDate>
      <link>https://forem.com/onaolapo11/comparison-of-strings-is-lexicographically-sensitive-3pke</link>
      <guid>https://forem.com/onaolapo11/comparison-of-strings-is-lexicographically-sensitive-3pke</guid>
      <description>&lt;p&gt;&lt;strong&gt;Day 78 [December 2nd, 2025 started reading around 12am]&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 77 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 3: Python Programming Fundamentals&lt;/p&gt;

&lt;p&gt;Conditions and Branching&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The block of code under if statement only run when the if condition is True&lt;/li&gt;
&lt;li&gt;Comparison of strings is lexicographically-sensitive (comparison is done on a character by character basis dependent on how the characters are ordered in Unicode or ASCII) (see also Google, 2025a; Google, 2025b). That's why "10"&amp;lt;"7" evaluates to True (the first characters are compared).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
Comparison of strings is lexicographically-sensitive.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Google. (2025a). &lt;em&gt;Google Search with AI&lt;/em&gt;. [Large language model]. &lt;a href="https://www.google.com/search?q=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;oq=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRigATIHCAUQIRiPAjIHCAYQIRiPAjIHCAcQIRiPAtIBCTEyMzYwajBqOagCBrACAfEFn-fcgSi5fxs&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" rel="noopener noreferrer"&gt;https://www.google.com/search?q=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;oq=in+python+is+%2210%22+less+than+%227%22%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRigATIHCAUQIRiPAjIHCAYQIRiPAjIHCAcQIRiPAtIBCTEyMzYwajBqOagCBrACAfEFn-fcgSi5fxs&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google. (2025b). &lt;em&gt;Google Search with AI&lt;/em&gt;. [Large language model]. &lt;a href="https://www.google.com/search?q=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;oq=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIKCAEQABiABBiiBDIHCAIQABjvBTIKCAMQABiABBiiBNIBBzQ3NmowajmoAgawAgHxBWWZfDjzK9C2&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" rel="noopener noreferrer"&gt;https://www.google.com/search?q=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;oq=Comparison+of+strings+is+lexicographically-sensitive&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIKCAEQABiABBiiBDIHCAIQABjvBTIKCAMQABiABBiiBNIBBzQ3NmowajmoAgawAgHxBWWZfDjzK9C2&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Comparison of strings is case-sensitive</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Sat, 29 Nov 2025 19:03:58 +0000</pubDate>
      <link>https://forem.com/onaolapo11/comparison-of-strings-is-case-sensitive-4ml2</link>
      <guid>https://forem.com/onaolapo11/comparison-of-strings-is-case-sensitive-4ml2</guid>
      <description>&lt;p&gt;Day 77 [November 29, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 76 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 3: Python Programming Fundamentals&lt;/p&gt;

&lt;p&gt;Conditions and Branching&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;if, else and elif statements&lt;/li&gt;
&lt;li&gt;Comparison operators: == equal to, != not equal to, &amp;lt; less than, &amp;gt; greater than&lt;/li&gt;
&lt;li&gt;Logic operators: or, and&lt;/li&gt;
&lt;li&gt;"or" outputs False, only when both operands are False&lt;/li&gt;
&lt;li&gt;"and" outputs True, only when both operands are True&lt;/li&gt;
&lt;li&gt;Comparison of strings is case-sensitive, e.g. "boy" == "BOY" outputs False, meaning they're not equal to each other.&lt;/li&gt;
&lt;li&gt;Likewise in accordance to the value of letters by ASCII, symbols/words/letters, can be compared to one another, e.g. according to ASCII's order of character, "a" is at position 97, while "A" is at position 65, meaning that the code "a" &amp;gt; "A" will output True, while "A" &amp;gt; "a" will output False&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;&lt;br&gt;
Comparison of strings is case-sensitive.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
      <category>software</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>I completed Module 2 (Python Data Structures) of Python for Data Science, AI &amp; Development Course (IBM) (Santarcangelo, n.d.)</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Mon, 24 Nov 2025 20:01:45 +0000</pubDate>
      <link>https://forem.com/onaolapo11/i-completed-module-2-python-data-structures-of-python-for-data-science-ai-development-course-31o9</link>
      <guid>https://forem.com/onaolapo11/i-completed-module-2-python-data-structures-of-python-for-data-science-ai-development-course-31o9</guid>
      <description>&lt;p&gt;Day 76 [November 24, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 75 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 2: Python Data Structures&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lists and Tuples&lt;/li&gt;
&lt;li&gt;Dictionaries&lt;/li&gt;
&lt;li&gt;Sets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;used for the storage of values that are distinct&lt;/li&gt;
&lt;li&gt;"append() adds an object as a single element, while extend() adds each element of an iterable individually".  Check using the code below:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;list = [2,3,4]&lt;br&gt;
list.append([3])&lt;br&gt;
print(list)&lt;/p&gt;

&lt;p&gt;list2 = [2,3,4]&lt;br&gt;
list2.extend([3])    #note the difference here&lt;br&gt;
print(list2)&lt;/p&gt;

&lt;p&gt;Outputs:&lt;br&gt;
[2, 3, 4, [3]]&lt;br&gt;
[2, 3, 4, 3]&lt;/p&gt;

&lt;p&gt;Otherwise,&lt;br&gt;
list2 = [2,3,4]&lt;br&gt;
list2.extend(3)    #note the difference here&lt;br&gt;
print(list2)&lt;br&gt;
will give TypeError: 'int' object is not iterable&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Both sum() and len() functions work for Tuples, but the difference is sum() adds the elements (must be int or float type), while len() counts the elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ages = (20,3,34)&lt;br&gt;
print(sum(ages))&lt;br&gt;
print(len(ages))&lt;/p&gt;

&lt;p&gt;Outputs:&lt;br&gt;
57&lt;br&gt;
3&lt;/p&gt;

&lt;p&gt;Summary:&lt;br&gt;
I completed Module 2 (Python Data Structures) of Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.).&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Sets do not possess order</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Fri, 21 Nov 2025 22:10:39 +0000</pubDate>
      <link>https://forem.com/onaolapo11/sets-do-not-possess-order-1cmc</link>
      <guid>https://forem.com/onaolapo11/sets-do-not-possess-order-1cmc</guid>
      <description>&lt;p&gt;Day 75 [November 21, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 74 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 2: Python Data Structures&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lists and Tuples&lt;/li&gt;
&lt;li&gt;Dictionaries&lt;/li&gt;
&lt;li&gt;Sets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;sets do not possess order.
Dictionaries&lt;/li&gt;
&lt;li&gt;.items() method is used to extract all key-value pairs as tuples, all itemized in a list: listOfItems = list(nameOfDict.items())&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Summary:&lt;br&gt;
Sets do not possess order. &lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>The difference method shows us the elements of one set that are not found in the other</title>
      <dc:creator>Onaolapo-11</dc:creator>
      <pubDate>Thu, 20 Nov 2025 22:02:57 +0000</pubDate>
      <link>https://forem.com/onaolapo11/the-difference-method-shows-us-the-elements-of-one-set-that-are-not-found-in-the-other-1kde</link>
      <guid>https://forem.com/onaolapo11/the-difference-method-shows-us-the-elements-of-one-set-that-are-not-found-in-the-other-1kde</guid>
      <description>&lt;p&gt;Day 74 [November 20, 2025]&lt;/p&gt;

&lt;p&gt;I need to buckle down, as I'm still lagging on day day 3 &amp;amp; 4 goals, "Day 3-4: Control structures (if-else, loops)", as well as day 5 (and 6) goals, "Day 5-6: Functions and modules", and Day 7 target (exercises) (Meta AI, personal communication, August 8, 2025). If I haven't covered this, I can't make progress on day 8 - 73 goals.&lt;/p&gt;

&lt;p&gt;Goals:&lt;br&gt;
As extracted from the 'Python for Software Development' textbook by Halvorsen (n.d.):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Plotting in Python ✅&lt;/li&gt;
&lt;li&gt;Subplots✅&lt;/li&gt;
&lt;li&gt;Exercises✅&lt;/li&gt;
&lt;li&gt;If ... Else&lt;/li&gt;
&lt;li&gt;Arrays&lt;/li&gt;
&lt;li&gt;For Loops&lt;/li&gt;
&lt;li&gt;Nested&lt;/li&gt;
&lt;li&gt;For Loops &lt;/li&gt;
&lt;li&gt;While Loops &lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Functions in Python - Introduction&lt;/li&gt;
&lt;li&gt;Functions with multiple return values&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Classes in Python&lt;/li&gt;
&lt;li&gt;The init () Function&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;li&gt;Creating Python Modules&lt;/li&gt;
&lt;li&gt;Exercises&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notes:&lt;br&gt;
Python for Data Science, AI &amp;amp; Development Course (IBM) (Santarcangelo, n.d.):&lt;br&gt;
Module 2: Python Data Structures&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lists and Tuples&lt;/li&gt;
&lt;li&gt;Dictionaries&lt;/li&gt;
&lt;li&gt;Sets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;.difference method shows us the elements of one set (e.g. setBIg) that are not found in the other(setCar): setBig.difference(setCar) [note the arrangement of the set, because reversing the arrangement of the set, is different from the other).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;&lt;br&gt;
The difference method shows us the elements of one set that are not found in the other.&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Halvorsen, H. (n.d.). &lt;em&gt;Python&lt;/em&gt;. &lt;a href="https://halvorsen.blog/documents/programming/python/python.php#python4" rel="noopener noreferrer"&gt;https://halvorsen.blog/documents/programming/python/python.php#python4&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Santarcangelo, J. (n.d.). &lt;em&gt;Python for data science, AI &amp;amp; development&lt;/em&gt; [MOOC]. Coursera. &lt;a href="https://coursera.org/learn/python-for-applied-data-science-ai" rel="noopener noreferrer"&gt;https://coursera.org/learn/python-for-applied-data-science-ai&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>softwaredevelopment</category>
    </item>
  </channel>
</rss>
