I am wondering the solution should be written in Python. And, also the format of solution would contain only a code without other scaffold such as codeblock tag in markdown or extras. Thank you
Your need to confirm your account before you can post a new comment.