Light Mode
Dark Mode
How does this work?

The code is (text[0].upper() + text[1:] + '.' * (not text.endswith('.'))), how does this code turn 'welcome to new york' to 'Welcome to New York'?

Created: July 13, 2019, 11:46 p.m.
Updated: July 15, 2019, 9:34 p.m.
1
4
User avatar
jayalli638