# from datetime import datetime

class ZodiacSigns:
    def __init__(self, name, first_month, second_month, first_range, sencond_range):
        self.name = name   
        self.first_month = first_month
        self.second_month = second_month
        self.first = range(first_range[0],first_range[1])
        self.second = range(sencond_range[0],sencond_range[1])

    def __repr__(self):
        return self.name, self.first, self.second
    
    def Ranger(self, month):
        if month == self.first_month:
            return self.first
        else:
            return self.second


aquarius = ZodiacSigns('Aquarius',1 ,2 ,(20,31), (1,18))
pisces = ZodiacSigns('Pisces', 2, 3 ,(19,29),(1,20))
aries = ZodiacSigns('Aries', 3, 4 ,(21,31),(1,19))
taurus = ZodiacSigns('Taurus', 4, 5 ,(20,30),(1,20))
gemini = ZodiacSigns('Gemini', 5, 6 ,(21,31),(1,20))
cancer = ZodiacSigns('Cancer', 6, 7 ,(21,30),(1,22))
leo = ZodiacSigns('Leo', 7, 8 ,(23,31),(1,22))
virgo = ZodiacSigns('Virgo', 8, 9 ,(23,31),(1,22))
libra = ZodiacSigns('Libra', 9, 10 ,(23,30),(1,22))
scorpio = ZodiacSigns('Scorpio', 10, 11 ,(23,31),(1,21))
sagittarius = ZodiacSigns('Sagittarius', 12 , 1, (22,30),(1,21))
capricorn = ZodiacSigns('Capricorn', 11, 1 ,(22,31),(1,19))
# print(aquarius.Ranger(2))