title: Comparing two variables in Python
body: <p>I'm trying to test for equality of a and b here. I'm not sure why the output prints 'not equal' even though both a and b equates to '75', which is the same value.</p>
  
  <pre><code>a = (len(products)) #products is a dictionary, its length is 75
  b = (f.read()) #f is a txt file that contains only '75'
  
  if(str(a) == str(b)):
      print ('equal')
  else:
      print ('not equal')
  </code></pre>