Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save mypy-play/20892aaef83b12a999b4d772e2ee85d4 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
a = [ 10 ]
b = { 20 }
print( ( a or [] ) + ( b or [] ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment