fork download
  1. import re
  2.  
  3. print(re.sub(r'(?i)[A-Z](?=[A-Z])', '\g<0> ', 'BINGO!'))
  4.  
Success #stdin #stdout 0.02s 9696KB
stdin
Standard input is empty
stdout
B I N G O!