title: Printing the biggest int from text file from and give the line this int is located in
body: <p>I have a text file: </p>
  
  <pre><code>Jan Jansen heeft kaartnummer: 325255
  Erik Materus heeft kaartnummer: 334343
  Ali Ahson heeft kaartnummer: 235434
  Eva Versteeg heeft kaartnummer: 645345
  Jan de Wilde heeft kaartnummer: 534545
  Henk de Vrie heeft kaartnummer: 345355
  </code></pre>
  
  <p>I need to print three things: the biggest int value, the number of lines and the line the biggest int is located in. I have done the first two, but I have no idea how to print the line the biggest int is located in. I hope you guys can help me. </p>
  
  <p>This is what I got so far:</p>
  
  <pre><code>import re
  
  num_lines = sum(1 for line in open("Kaartnummers.txt"))
  print(num_lines)
  
  int = open("Kaartnummers.txt", "r")
  
  file = open("Kaartnummers.txt", "r")
  
  file = file.read()
  
  numbers = re.findall(r"[-+]?\d*\.\d+|\d+", file)
  
  print(numbers)
  
  numbers.sort()
  print("The b"numbers[-1])
  </code></pre>
  
  <p>I know its very messy but I'm very new to coding and so I'm not very good.</p>