TypeError: func1() missing 1 required positional argument: 'self'
<p>Im pretty new to python and one of the harder things I'm having to learn is how to properly use self. My understanding is in the methods we should use self. However I have the following class with a method and Im getting a type error saying saying I'm missing the positional argument self.</p>

<pre><code>class example():

    list1 = ['a','b','c','d']
    list2 = ['1','2','3','4']

    def func1(self, list1, list2):

        i = 1
        for item in list1:
            print(list1)
            print(list2[i])
            i +=1

    func1(list1=list1, list2=list2)

#error seen below

&lt;ipython-input-2-d17d317756a0&gt; in &lt;module&gt;()
----&gt; 1 class example():
      2 
      3     list1 = ['a','b','c','d']
      4     list2 = ['1','2','3','4']
      5 
&lt;ipython-input-2-d17d317756a0&gt; in example()
     11             print(list2[i])
     12 
---&gt; 13     func1(list1=list1, list2=list2)

TypeError: func1() missing 1 required positional argument: 'self'
</code></pre>