I´m a total newbie
infile:
Baby 1902
Buby 1952
Boby 1950
Daisy 1990
Dassy 1940
Dasay 1960
Rob 1960
Bob 1990
Bolob 1970
Asdf 1999
Code:
#!/usr/bin/python
inData = open('crap3.txt')
Lina = inData.readline()
Lina = Lina.strip()
tmpFields = Lina.split('\t')
for line in inData:
bla = tmpFields[1]
print(bla)
It prints out the first birthyear ten times. I would like it to print out every year.