Build an RPG Character - Build an RPG Character

Tell us what’s happening:

Why can’t I pass step 2? Really no idea. I have tried everything I could think of.

Your code so far

full_dot = '●'
empty_dot = '○'

def create_character(name, strength, intelligence, charisma):
    if not isinstance(name, str):
        return "The character name should be a string."
    if len(name) > 10:
        return "The character name is too long."
    if " " in name:
        return "The character name should not contain spaces."

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0

Challenge Information:

Build an RPG Character - Build an RPG Character

Github Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-rpg-character/67d83df6f82eda3868dd2a84.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @luisfernandocaraujo , welcome to the forum ! :waving_hand:

Here this is just a typo error; be sure to double check that your message is completely identical to the one asked (no more, no less). Even a small character can cause the error message to appear (a period, dot, hyphen…) You can copy/paste if needed.

Thank you Jarvis! Although I don’t think I’ve found this. I tried copying the phrases, writing everything again, really no clue.

Well actually you had a period at the end, and the tests doesn’t admit it. The system is quite strict, and it may require to add/remove any peculiar character at the end of the sentences, though I admit it is confusing. Honestly, when I completed some challenges that required to display a specific message, I just copy/pasted it, so it didn’t bothered me.