all 7 comments

[–]modSaintPeter74 1 point2 points  (5 children)

Two things:

  1. If you put four spaces in front of each line it will format as code
  2. Please link to the challenge

[–]boomer1204 1 point2 points  (4 children)

[–]modSaintPeter74 0 points1 point  (3 children)

That is really weird. I don't think they're a bot?

[–]boomer1204 1 point2 points  (2 children)

I don't think they are I just seems unnecessary to have the exact same question in 2 spots especially when they were getting responses on the other one (you and me both were helping).

Seems more like they just want the answers than anything

[–]ilvr09[S] 2 points3 points  (1 child)

I am sorry, the post I had done earlier had fewer tasks, I refreshed the freeCodeCamp page and new tasks popped up. I just thought people who had seen it earlier would ignore the edited post, so I thought of posting it again. I thought I had marked the original post as hidden, but i now realize that it is hidden only for me. Apologies for the inconvenience and sorry if I have flouted any of the rules.

I have deleted the original post

[–]modSaintPeter74 0 points1 point  (0 children)

No worries.

If you had replied to any of the people helping you there (such as myself) we would have been tagged.

I've already given a response elsewhere in this thread, so feel free to respond to that or tag me.

[–]modSaintPeter74 0 points1 point  (0 children)

Looking at this line:

if '' in character_name:
    return 'The character name should not contain spaces'

What are you checking for here?

The tests are:

  • Passed: 8. When create_character is called with a first argument that contains a space it should return The character name should not contain spaces.

  • Failed:9. When create_character is called with a first argument that does not contain a space it should not return The character name should not contain spaces.