Python's version of a ternary operator is

<A> if <condition> else <B>

I hate this

Follow

@vaporeon_ I did actually get used to it but I felt the same way when I first starting using Python lol

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.