Posts

Showing posts with the label Code for find season for the given month number

Code for find season for the given month number

 Code for find season for the given month  number       m=int(input())      if(m==1 or m==11 or m==12):          print("Winter")      elif(m==2 or m==3):          print("Spring")      elif(m==4 or m==5 or m==6):          print("Summer")      elif(m==7 or m==8):          print("Rainy")      else:          print("Autumn")