If the original code is
variable = [line.rstrip().lstrip() for line in fin]
Hypothetically, if I want to break out the list comprehension, would it be the following?
variable = [] # (Do I need to create an empty [] here?)
for line in fin:
variable = line.rstrip().lstrip()
Thank you for your help!