Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Is that solution more efficient than going for each character and checking? The ToUpper method doesn't need to do a for each too? The best scenario of checking is O(1), case the first character is lower, it returns, if ToUpper does use a for than it would be O(N) always. What do you think?
This comment is hidden because it contains spoiler information about the solution
I'm an idiot -_-
Exercise test cases are now fixed.
syntax error in the 3rd test case.
cool, thanks for sharing, I love your willingness to share, I'm definitely following you now.
Once again: thanks.
Hi,
len(body)
is redundant. There are negative indices in Python:lst[-1] == lst[len(lst)-1]
for non-empty list (tuple...).