Tell us what’s happening:
My if statement appears to be correct; however, I am not entirely certain.
The instructions state:
When
create_characteris called with a first argument that is not a string, it should returnThe 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