title: Error: '>=' not supported between instances of 'type' and 'int'
body: <p>My code is in file Test.py</p>
  <pre><code>name = input(&quot;enter your name :&quot;)
  id = int(input(&quot;enter your id :&quot;)
  score = [int]*3
  MyLib.calculate(score)
  MyLib.result(name, id, score)
  </code></pre>
  <p>And this the code in MyLib.py</p>
  <pre><code>def calculate (x) :
      n = 0
      for n in x :
          nilai = int(input(&quot;Input Your Score : &quot;))
  def result (a,b,c) :
      n = 0
      sum = 0
      for n in c :
          if n &gt;= 80 and n &lt;= 100 :
              i = 4
              x = &quot;A&quot; 
          elif n &lt; 80 and n &gt;= 70 :
              i = 3
              x = &quot;B&quot;
          elif n &lt; 70 and n &gt;= 60 :
              i = 2
              x = &quot;C&quot;
          elif n &lt; 60 and n &gt;= 50 :
              i = 1
              x = &quot;D&quot;
          elif n &lt; 50 and n &gt;= 0 :
              i = 0
              x = &quot;E&quot;
          sum += i
      print(&quot;Your Name :&quot;,a)
      print(&quot;Your ID :&quot;, b)
      print(&quot;Your score number is &quot;,n,&quot; and your score alphabet is &quot;,x)
      print(&quot;Your avg score is&quot;, sum)
  </code></pre>
  <p>But after i input the score (ex. 80, 70, 60) the result is TypeError: '&gt;=' not supported between instances of 'type' and 'int'.</p>