Hi m8s.
I completed the mission "all upper". but when i check my code, error shown.
I suppose the """""correct"""" answer is another code but, with mine, all works with a boolean True.
-Code(excluding the code of the mission):
x = text.isupper()
if x == True:
return True
elif text == '':
return True
else:
return False
return False
--Output in checkio console:
Example:
True
Coding complete? Click 'Check' to earn cool rewards!
--Output in pycharm:
Example:
True
Coding complete? Click 'Check' to earn cool rewards!
Process finished with exit code 0
Created at: 2021/01/29 16:16; Updated at: 2021/02/07 08:26
The question is resolved.