Resolving the question then.
Thank you both! Both issues are now solved
use backticks like this ``` and close it with them
Use ``` instead of '''
About your code, you should return the result, not print it.
Not sure how to do the markdown formatting properly in my comments
This comment is hidden because it contains spoiler information about the solution