you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 11 months ago*

Because Python wants you to read it like English:

x is "foo" if y is greater than 5, else it is "bar"

  • source
  • parent