Python converts a string to a title format that capitalizes the first letter of a word

From , 5 Years ago, written in Python, viewed 85 times.
URL https://pastebin.vip/view/7e6b20d0
  1. a = 'hello world! how are you?'  
  2. b = ' '.join(i.capitalize() for i in a.split(' '))  
  3.  
  4.  
  5.  

Reply to "Python converts a string to a title format that capitalizes the first letter of a word"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website