fork(1) download
  1. entrada = '2 sucos de laranja'
  2. numero, _, alimento = entrada.partition(' ')
  3. print(numero)
  4. print(alimento)
Success #stdin #stdout 0.02s 27608KB
stdin
Standard input is empty
stdout
2
sucos de laranja