Add if, ifels and elif to python snippets