We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Camel Case 4
- Discussions
Camel Case 4
Camel Case 4
Sort by
recency
|
519 Discussions
|
Please Login in order to post a comment
Hi everyone! Here’s my solution to this exercise. I’m currently having an issue with Test Case 2. When I run the code, it seems to produce the expected result, but it’s still not passing. Does anyone have an idea of what might be going on?
def camelCasing(word): if word[0] == 'S': #Split Operation new_word = word[4:] result = ''
if name == 'main': import sys
My Python3 solution:
How can I have my function to read the several lines of the input and produce the several lines output?
Python solution using inheritance: