Using strings in list functions...?


#1

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:


#2

@unicornsprkle,

You define the function

join_string(words)

then you call

join_strings(n)


#3

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


#4

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,
"MichaelLieberman"
None


#5

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:


#6

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


#8

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