Skip to content

Instantly share code, notes, and snippets.

@mypy-play
Created January 22, 2026 16:06
Show Gist options
  • Select an option

  • Save mypy-play/d5291e9861aed3e036e12bbbdadfb923 to your computer and use it in GitHub Desktop.

Select an option

Save mypy-play/d5291e9861aed3e036e12bbbdadfb923 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
cond = False
print(1, *([2] if cond else []), 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment