I have extracted a set of data from HTML page and copied to a variable. The variable looks like
names='''
Apple
Ball
Cat'''
Now I like to join each line into a list so that I can access any line I want. Is there any way to do that in Python
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…