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

Tell us what’s happening:

I was asked to replace pass with an empty list and this is what i was asked to use to create the empty, is there anything else I’m missing. Please enlighten me!!!

Your code so far


# User Editable Region

def convert_to_snake_case(pascal_or_camel_cased_string):
    [] =  snake_cased_char_list

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

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

You got it backwards.

I think of variable assignment from right to left: whatever is on the right side of the = will be copied into the variable on the left side.

result = 10

So the 10 gets copied into result

result <--- 10

snake_cased_char_list is your variable and you want to copy the empty list [] into it