samedi 28 mars 2020

How could I define the seasons of the year in Python? [closed]

I have numeric values that refer to months of the year. ie january=1 february=2... How could I define a function that returns these month values to the season of the year? Is it some kind of 'if' function?

Thank you

Aucun commentaire:

Enregistrer un commentaire