You are viewing a single comment's thread. Return to all comments →
I am getting desired output by running the same in Jupitor notebook but in Hackerrank console it is ending with below error.
Traceback (most recent call last): File "Solution.py", line 25, in fptr.write(result + '\n') TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Seems like cookies are disabled on this browser, please enable them to open this website
Capitalize!
You are viewing a single comment's thread. Return to all comments →
I am getting desired output by running the same in Jupitor notebook but in Hackerrank console it is ending with below error.
Traceback (most recent call last): File "Solution.py", line 25, in fptr.write(result + '\n') TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'