fork download
  1. def make_great( lista ):
  2. return [ 'O grande ' + magico for magico in lista ]
  3.  
  4. def show_magicians( lista ):
  5. for magico in lista:
  6. print(magico)
  7.  
  8. lista=['Howard Thurston', 'David Copperfield', "Lance Burton", 'Houdini',
  9. 'David Blaine', 'Dynamo', 'Derren Brown', 'Criss Angel']
  10.  
  11. show_magicians( make_great(lista) )
Success #stdin #stdout 0.04s 9240KB
stdin
Standard input is empty
stdout
O grande Howard Thurston
O grande David Copperfield
O grande Lance Burton
O grande Houdini
O grande David Blaine
O grande Dynamo
O grande Derren Brown
O grande Criss Angel