Skip to main content
added 249 characters in body
Source Link
dansalmo
  • 11.7k
  • 5
  • 62
  • 55

Do you mean:

>>> [read[i:j] for i, j in zip(a,b)]
[['If', 'you', 'are', 'done', 'with', 'the', 'file,', 'move', 'to', 'the', 
'command',    'area'], ['from', 'the', 'file', 'name', 'in', 'the', 'RL',
'screen', 'and', 'type'], [], []]

or

>>> ' '.joinjoin[read[i:j] for i, j in zip(read[13a,b)][0])
'If you are done with the file, move to the command area'

>>> ' '.join[read[i:25]j] for i, j in zip(a,b)][1])
'from the file name in the RL screen and type'

Do you mean:

>>> ' '.join(read[13:25])
'from the file name in the RL screen and type'

Do you mean:

>>> [read[i:j] for i, j in zip(a,b)]
[['If', 'you', 'are', 'done', 'with', 'the', 'file,', 'move', 'to', 'the', 
'command',    'area'], ['from', 'the', 'file', 'name', 'in', 'the', 'RL',
'screen', 'and', 'type'], [], []]

or

>>> ' '.join[read[i:j] for i, j in zip(a,b)][0])
'If you are done with the file, move to the command area'

>>> ' '.join[read[i:j] for i, j in zip(a,b)][1])
'from the file name in the RL screen and type'
Source Link
dansalmo
  • 11.7k
  • 5
  • 62
  • 55

Do you mean:

>>> ' '.join(read[13:25])
'from the file name in the RL screen and type'