Amico buleano

# condition è un qualche valore booleano
if str(condition) == "True":
    # fai qualcosa

Un pony è rimasto gravemente ferito è morto durante la scrittura del codice…

About these ads
Tagged , ,

3 thoughts on “Amico buleano

  1. giallu says:

    Grande titolo! anche meglio dello snippet

  2. Pensare che codice simile era presente in un software(!) di automazione industriale…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: