Tell us what’s happening:
im not able to pass any tests, could you help me figure out my mistake
Your code so far
full_dot = '●'
empty_dot = '○'
def create_character(name,strength,intelligence,charishma):
if not isinstance(name,str):
return'The character name should be a string.'
elif name=='':
return 'The character should have a name.'
elif name>10:
return 'The character name is too long'
elif ' ' 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/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Challenge Information:
Build an RPG Character - Build an RPG Character
