fork download
  1. # your code goes here
  2. import re
  3. print re.split(r'a|b', 'dakjbnambtu')
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
['d', 'kj', 'n', 'm', 'tu']