Python code (22/48)

Python code