id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dsawyer@methacton.org > camelCase
prev  |  next  |  chance

Returns a string that is identical to the parameter except that the characters at the even indices are lower-case and the letters at the odd indices are upper-case.


camelCase('House') → 'hOuSe'
camelCase('TWO words') → 'tWo wOrDs'
camelCase('doGS') → 'dOgS'

...Save, Compile, Run (ctrl-enter)

def camelCase( x ):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 250

Copyright Nick Parlante 2017 - privacy