Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. problem = input("What is your problem?").split()
  2.  
  3. with open ('solutions.txt', 'rt') as in_file:
  4. for line in in_file:
  5. if problem in line:
  6. print(line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement