Hi,
I have successfully written all the conditions, there are no errors in my console but the result I get is not of the format required to pass hence my last test is not getting pass.
Here is the code for last condition:
else:
str_dots = strength*full_dot+(10-strength)*empty_dot
intel_dots = intelligence*full_dot+(10-intelligence)*empty_dot
char_dots = charisma*full_dot+(10-charisma)*empty_dot
return str_dots, intel_dots, char_dots
print(name)
print(f'STR {str_dots}')
print(f'INT {intel_dots}')
print(f'CHA {char_dots}')
print(create_character('ren',3,4,2))
The output I get does not display name but shows dots for all stats in same line as strings. It looks like:
(‘●●●○○○○○○○’, ‘●●●●○○○○○○’, ‘●●○○○○○○○○’)