Create Python snippet1