<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def camel_case_from_underscores(string):
 """generate a CamelCase string from an underscore_string."""

    components = string.split('_')
    string = ''
    for component in components:
        string += component[0].upper() + component[1:]
    return string