fork(1) download
  1. import sys
  2.  
  3. try:
  4.  
  5. tekst = input()
  6.  
  7. while tekst!="":
  8. result = tekst.title().replace(" ", "")
  9. print(result)
  10. tekst = input()
  11. except:
  12. sys.exit()
  13.  
Success #stdin #stdout 0.02s 9052KB
stdin
Standard input is empty
stdout
Standard output is empty