I was a computer science student in it for interest.
'Was' not because I am no longer interested, but because I am no longer a student in the strict sense of belonging to an institution.