Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inp = input()
- outarr = []
- with open("wands.csv", "r") as infile:
- for n, line in enumerate(infile, 1):
- line = line.rstrip('\n')
- tempsplit = line.split(';')
- if tempsplit[0] == inp and int(tempsplit[2]) >= 1957:
- outarr.append(line)
- for i in outarr:
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement