Also, if you post your code, use proper markdown, otherwise the indentation obfuscates the code.
Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
Please remember to use the spoiler tag when posting code, otherwise everyone can see it. (I have added the tag). For your function, return the value instead of print.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Also, if you post your code, use proper markdown, otherwise the indentation obfuscates the code.
Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
Please remember to use the spoiler tag when posting code, otherwise everyone can see it. (I have added the tag). For your function, return the value instead of print.
This comment is hidden because it contains spoiler information about the solution