fork download
  1. text = "pidor blya, ya tibe pokushati prines"
  2. def delete(text):
  3. for i in "pidoryahuilo":
  4. text = text.replace(i, "")
  5. return text
  6.  
  7. print ' '.join( filter(None, map(delete, text.split())))
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
b, tbe kst nes