fork(1) download
  1. from string import*
  2. f=capwords
  3. print(f("ISN'T THIS A REALLY COOL TEST CASE???"))
  4. print(f("tHis iS A rEALLY WeiRd SeNTEncE"))
  5. print(f("I Like This Sentence"))
Success #stdin #stdout 0.03s 10368KB
stdin
Standard input is empty
stdout
Isn't This A Really Cool Test Case???
This Is A Really Weird Sentence
I Like This Sentence