Learn Python List Comprehension by Building a Case Converter Program - Step 12

What exactly am I hetting wrong here?

def main(data):
    print (convert_to_snake_case(data))

string = 'aLongAndComplexString'
main(string)

Sorry, your code does not pass. You’re getting there.
You should call convert_to_snake_case() inside the main() function and pass 'aLongAndComplexString' as input to the function.

Instructions don’t mention a string variable, try it directly. Don’t add anything that isn’t mentioned in the instructions.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.