fork(1) download
  1. l=['Car 8', 'Bike 5', 'Train 10']
  2. print([tuple(x.split(' ')) for x in l])
Success #stdin #stdout 0.04s 9356KB
stdin
Standard input is empty
stdout
[('Car', '8'), ('Bike', '5'), ('Train', '10')]