Code snippets for Python code practice