<filename>example_snippets/multimenus_snippets/Snippets/Python/Lists/Conditional alternative list comprehension.py<gh_stars>0
[x**2 if (x%3)==0 else x**3 for x in range(-10, 11)]
<filename>example_snippets/multimenus_snippets/Snippets/Python/Lists/Conditional alternative list comprehension.py<gh_stars>0
[x**2 if (x%3)==0 else x**3 for x in range(-10, 11)]