Build an RPG Character - Build an RPG Character

Tell us what’s happening:

I can’t seem to get past the 3rd and 4th test. I feel like I’ve looked over it a thousand times and need a fresh prespective

Your code so far

full_dot = '●'
empty_dot = '○'
def create_character(name, strength, intelligence, charisma):
    name = input('Tell me your name!')
    if isinstance(name, str):
        return 'The character name should be a string'
    if len(name) > 10:
        return 'The character name is too long'
    if name == "":
        return 'The character should have a name'
    if '' in name:
        return 'The character name should not contain spaces'

    

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15

Challenge Information:

Build an RPG Character - Build an RPG Character

Your name parameter gets its value from the argument that is passed to create_character when that function is called.

You want to return a message when name IS a string?

You want to return a message when there’s an empty string in name?