Python

re-added solution