samedi 13 avril 2019

Groovy - if statement in list

how can I write next statement like in a python code:

if x in [a, b ,c]:
    print("print something..")

thanks!

Aucun commentaire:

Enregistrer un commentaire