Build an RPG Character - Build an RPG Character

Tell us what’s happening:

My if statement appears to be correct; however, I am not entirely certain.

The instructions state:

When create_character is called with a first argument that is not a string, it should return The character name should be a string.

I believe I have implemented this correctly. Could someone confirm?

Your code so far

full_dot = '●'
empty_dot = '○'

def create_character(string):
    if string != str:
        return 'The character name should be a string'

Your browser information:

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

Challenge Information:

Build an RPG Character - Build an RPG Character

I solved it myself since no one replied in time. :neutral_face:

1 Like

good job in solving it!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.