Using Go's present with Python code snippets