This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
full_dot = '●' | |
empty_dot = '○' | |
def create_character(name, strength, intelligence, charisma): | |
if type(name) != str: | |
return "The character name should be a string" | |
elif len(name) > 10: | |
return "The character name is too long" |