title: Read lines from text file and if a specific word == 100, print the line
body: <p>I have a text file that i want to read using python. The text file contains words and a value such as (rt= 3.878). I want to write a script using python to read the text file and if rt in line is == 3.878, print that line.
  I managed to write this piece of code so far.</p>
  
  <pre><code>    with open ('/home/Desktop/hello.txt', 'r') as f:
               f.readline()
               for line in f:
                       if 'rt' in line == 3.878
                                print(line)
  </code></pre>
  
  <p>This code returns nothing. Could anyone kindly point out what I might be doing wrong? thanks in advance!</p>