<?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: Jon Obi</title>
    <description>The latest articles on DEV Community by Jon Obi (@itchyonion).</description>
    <link>https://dev.to/itchyonion</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%2F194958%2F5bb6074c-5207-4ed4-b70c-6518263d3f35.jpg</url>
      <title>DEV Community: Jon Obi</title>
      <link>https://dev.to/itchyonion</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/itchyonion"/>
    <language>en</language>
    <item>
      <title>Adding values to an empty list</title>
      <dc:creator>Jon Obi</dc:creator>
      <pubDate>Sun, 16 Feb 2020 17:14:06 +0000</pubDate>
      <link>https://dev.to/itchyonion/adding-values-to-an-empty-list-5000</link>
      <guid>https://dev.to/itchyonion/adding-values-to-an-empty-list-5000</guid>
      <description>&lt;p&gt;Fam, help me!...i'm new to python and currently trying to write a function that adds values to an empty list. it should return true when i add values and false, if i add a value that already exists in the list.&lt;/p&gt;

&lt;p&gt;The issue is when i add a value that already exists, it still prints it out when the function is called instead of given the designated error message. I know something's wrong, i just don't know where exactly.&lt;/p&gt;

&lt;p&gt;I'd appreciate your input (pun intended).&lt;/p&gt;

&lt;p&gt;This is the code i came up with:&lt;/p&gt;

&lt;p&gt;myUniqueList = []&lt;/p&gt;

&lt;p&gt;def addToMyUniqueList(x):&lt;br&gt;
    if x != myUniqueList:&lt;br&gt;
        print("My unique list:")&lt;br&gt;
        print(myUniqueList)&lt;br&gt;
    else:&lt;br&gt;
        print("Error; item already exists!")&lt;br&gt;
addToMyUniqueList(myUniqueList.append(3))&lt;/p&gt;

&lt;p&gt;output:&lt;br&gt;
My unique list:&lt;br&gt;
[3]&lt;/p&gt;

&lt;p&gt;addToMyUniqueList(myUniqueList.append(3))&lt;/p&gt;

&lt;p&gt;output:&lt;br&gt;
My unique list:&lt;br&gt;
[3, 3]&lt;/p&gt;

</description>
      <category>python</category>
      <category>lists</category>
    </item>
    <item>
      <title>My first project...sort of </title>
      <dc:creator>Jon Obi</dc:creator>
      <pubDate>Wed, 04 Sep 2019 12:16:22 +0000</pubDate>
      <link>https://dev.to/itchyonion/my-first-project-sort-of-41i2</link>
      <guid>https://dev.to/itchyonion/my-first-project-sort-of-41i2</guid>
      <description>&lt;p&gt;This is the tribute page I made for the responsive web design project on freecodecamp. I'm sure there are probably a thousand and one ways I could've made it better, so please feel free to drop an input (positive and negative criticisms alike). I'm still growing and wish to learn more. Thanks.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/jon_lyk_no_otha/embed/wvweppo?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>responsivewebdesign</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>git me some help, please :)</title>
      <dc:creator>Jon Obi</dc:creator>
      <pubDate>Thu, 18 Jul 2019 22:30:27 +0000</pubDate>
      <link>https://dev.to/itchyonion/git-me-some-help-please-5b02</link>
      <guid>https://dev.to/itchyonion/git-me-some-help-please-5b02</guid>
      <description>&lt;p&gt;So i'm trying to set up git and i'm a little confused. Do i install the github desktop client or use the command line? What are the implications (if there are any)?&lt;/p&gt;

</description>
      <category>git</category>
      <category>webdev</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Frontend newbie :)</title>
      <dc:creator>Jon Obi</dc:creator>
      <pubDate>Sun, 14 Jul 2019 00:04:48 +0000</pubDate>
      <link>https://dev.to/itchyonion/frontend-newbie-3mna</link>
      <guid>https://dev.to/itchyonion/frontend-newbie-3mna</guid>
      <description>&lt;p&gt;Hi everyone, i'm new to the web development scene and i've currently picked up a thing or two on html and css (just the fundamentals) and making my way to javascript. I'd like to be a frontend developer. I'm open to suggestions, tips or advice generally, on this frontend path and any other relevant info you may have.  &lt;/p&gt;

</description>
      <category>frontend</category>
      <category>css</category>
      <category>html</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
