from arrangements import MothersDay, ValentinesDay from flowers import Alstroemeria, BabysBreath, Daisy, Lily, Poppy, Rose valentines_day_arrangement = ValentinesDay() mothers_day_arrangement = MothersDay() pink_rose = Rose("pink") red_rose = Rose("red") blue_rose = Rose("blue") poppy = Poppy() lily = Lily() daisy = Daisy() babys_breath = BabysBreath() alstroemeria = Alstroemeria() mothers_day_arrangement.enhance(daisy) mothers_day_arrangement.enhance(babys_breath) mothers_day_arrangement.enhance(poppy) # mothers_day_arrangement.enhance(pink_rose) valentines_day_arrangement.enhance(pink_rose) valentines_day_arrangement.enhance(red_rose) valentines_day_arrangement.enhance(blue_rose) valentines_day_arrangement.enhance(lily) valentines_day_arrangement.enhance(alstroemeria) # valentines_day_arrangement.enhance(poppy) print(mothers_day_arrangement) print(valentines_day_arrangement)
from bouquets import MothersDay, ValentinesDay from flowers import Alstro, Lilly, Rose robbie_griffin = MothersDay() # print(robbie_griffin) robbie_griffin_rose = Rose("red") # print(robbie_griffin_rose) robbie_griffin.enhance(robbie_griffin_rose) print(robbie_griffin.flowers)
from flowers import Flower, Rose, Lilly # if __name__ == "__main__": # for_kelly = ValentinesDayArrangement() # red_rose = Rose("Red") # red_rose.create_valentine() # for_kelly.enhance(red_rose) # from_penny = MothersDayArrangement() # white_lilly = Lilly("White", 7, False) # from_penny.enhance(white_lilly) # for flower in for_kelly.flowers: # print(flower) red_rose = Rose(10, False, "red") pink_rose = Rose(7, True, "pink") red_rose.create_valentine() pink_rose.create_valentine() print(red_rose.stem_length, red_rose.container_refridgerated) for_kelly = ValentinesDayArrangement("Love") for_kelly.enhance(red_rose) for_kelly.enhance(pink_rose) from_penny = MothersDayArrangement("mother's day") blue_lilly = Lilly(6, True, "blue") white_lilly = Lilly(10, True, "white") blue_lilly.create_mothersDay() white_lilly.create_mothersDay()
from arrangements import Arrangement from arrangements import ValentinesDay from arrangements import MothersDay from flowers import Rose from flowers import Alstroemeria Red = Rose("red") # Red.color = "red" # Red.enhance() print(Red) if __name__ == "__main__": for_beth = ValentinesDay() Red = Rose("red") ValentinesDay.enhance(Red)
from arrangements import ValentinesDay from flowers import Rose from flowers import Daisy if __name__ == "__main__": for_beth = ValentinesDay() red_rose = Rose("red", 10, 10, False, 10) blue_rose = Rose("blue", 8, 12, False, 4) pink_rose = Rose("pink", 12, 8, False, 6) yellow_daisy = Daisy("yellow", 5, 4, True, 6) for_beth.enhance(red_rose) for_beth.enhance(blue_rose) for_beth.enhance(pink_rose) for_beth.enhance(yellow_daisy)
from arrangements import MothersDay from arrangements import ValentinesDay from flowers import Organic from flowers import Rose from flowers import Poppy from flowers import Daisy from flowers import Lily from flowers import Alstroemeria from flowers import BabysBreath mom = MothersDay() rose = Rose("red") poppy = Poppy() lily = Lily() mom.enhance(rose) mom.enhance(lily) mom.enhance(poppy) for_beth = ValentinesDay() for_beth = Lily()
from flowers import Rose, Daisy, Alstroemeria, Lily, Poppy, BabysBreath from arrangements import Arrangement, ValentinesDay, MothersDay rose = Rose() daisy = Daisy() poppy = Poppy() vday = ValentinesDay() mothers_day = MothersDay() mothers_day.enhance(daisy) mothers_day.enhance(rose) vday.enhance(poppy)
from arrangements import MothersDay, ValentinesDay from flowers import Rose, Daisy, Lily, Alstroemeria if __name__ == "__main__": for_beth = ValentinesDay() red_rose = Rose() ugly_daisy = Daisy() for_beth.enhance(red_rose) for_beth.enhance(ugly_daisy)
from flowers import Alstro, BabysB, Daisy, Lilly, Poppy, Rose from arrangements import MothersDayArr, ValentinesDayArr alstro = Alstro() babys = BabysB() daisy = Daisy() lilly = Lilly() poppy = Poppy() roseR = Rose("red") roseP = Rose("pink") roseB = Rose("blue") mothers_day = MothersDayArr() valentines_day = ValentinesDayArr() mothers_day.enhance(alstro) mothers_day.enhance(babys) mothers_day.enhance(daisy) mothers_day.enhance(lilly) mothers_day.enhance(poppy) mothers_day.enhance(roseR) mothers_day.enhance(roseP) mothers_day.enhance(roseB) valentines_day.enhance(alstro) valentines_day.enhance(babys) valentines_day.enhance(daisy) valentines_day.enhance(lilly) valentines_day.enhance(poppy) valentines_day.enhance(roseR) valentines_day.enhance(roseP)