Using strings in list functions...?


Okayyyyy... I fixed my indentation and all good now. Thanks.

I keep getting the following error message...

"Traceback (most recent call last):
File "python", line 8, in
NameError: name 'join_strings' is not defined"

Continuing the discussion from 16/18 Using String Lists in Functions:



You define the function


then you call



@leonhard.wettengmx.n is correct. @unicornsprkle You have a tiny spelling error. See carefully.


just wanted to task if if my code is correct. I wrote it like the above stated by first student.
I received this output on the console,


Seeing your full code would be useful in figuring out if your code is correct. If you say that your code is similar to that of the first user, and that it worked successfully without an error, and gave correct output as well, then it must be correct :slight_smile:


2 posts were split to a new topic: Free resources for learning more Python


3 posts were split to a new topic: Using strings in list functions