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

Tell us what’s happening:

I like tried everything and nothing seems to work.

Your code so far


# User Editable Region

snake_cased_string = ''.join(snake_cased_char_list)

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

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

Welcome to the forum @humalkani24

You need to indent the variable so that it is a part of the function body.

Happy coding

2 Likes

It still doesnt work.

So the forum can assist please post your full code.

Use the following method to post code to the forum:

  1. On a separate line type three back ticks.
  2. On a separate line paste your code.
  3. On the last line type three back ticks. Here is a single back tick `

Happy coding

The identation is probably incorrect.
You should put in your code in loop for.