invalidated
I thought the same as you. Now we've learned!
Sorry, I wasn't sure what the spoiler flag was. I will mark applicable posts in future! Thank you for the feedback.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
"" is a string object. string objects have a method join(iterable), that produces a string of all elements in iterable seperated (or joined) by whatever the string object's value was.
""
join(iterable)
>> "!".join(["I", "AM", "AWESOME"]) I!AM!AWESOME
I don't understand why the " " before ".join", can anyone explain?
I didn't know you could put all these in one line #based
Yes you're supposed to do that ; it's best practice :) See the fork D:)
On your second line you need to write first = first.split() instead of just first.split() and your separator should be a space.
first = first.split()
first.split()
🦆 cause multiples WUB should be replaced by only 1 space...
Loading collection data...
invalidated
I thought the same as you. Now we've learned!
Sorry, I wasn't sure what the spoiler flag was. I will mark applicable posts in future! Thank you for the feedback.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
""
is a string object. string objects have a methodjoin(iterable)
, that produces a string of all elements in iterable seperated (or joined) by whatever the string object's value was.This comment is hidden because it contains spoiler information about the solution
I don't understand why the " " before ".join", can anyone explain?
I didn't know you could put all these in one line #based
This comment is hidden because it contains spoiler information about the solution
Yes you're supposed to do that ; it's best practice :) See the fork D:)
This comment is hidden because it contains spoiler information about the solution
On your second line you need to write
first = first.split()
instead of justfirst.split()
and your separator should be a space.This comment is hidden because it contains spoiler information about the solution
🦆 cause multiples WUB should be replaced by only 1 space...
Loading more items...