fork(3) download
  1. import random
  2.  
  3. frutas = ['abacate', 'mamão', 'laranja', 'uva', 'pêra']
  4. print(random.choice(frutas))
Success #stdin #stdout 0.01s 12368KB
stdin
Standard input is empty
stdout
abacate