So i have this code in python:
payment = open ("paintingJobs.txt" , "r")
lines = payment.readlines()
print (lines), ["A"]
[Jobs][1]
And, i'm trying to print only the lines of document that contain an "A" in them in a suitable format (not scruffy). I've tried the code above but it just prints out the whole document in an unorganised way.
Would there be a way to present the printed info like this: Table