from blomsterkasse import Blomsterkasse from blomst import Blomst def hovedprogram(): blomst1 = Blomst("tulipan", 0.5) blomst2 = Blomst("solsike", 1.5) blomst3 = Blomst("blaaveis", 0.3) """blomsterkasse = Blomsterkasse(3) print("Antall blomster:", blomsterkasse.antallBlomster()) blomsterkasse.plantBlomst(blomst1) print("Antall blomster:", blomsterkasse.antallBlomster()) for i in range(5): blomsterkasse.nesteDag() print(blomsterkasse)""" blomsterkasse = Blomsterkasse(10) fikkPlass = blomsterkasse.lesFraFil("mangeBlomster.txt") blomsterkasse.skrivUtInfoOmBlomster() if(fikkPlass): print("Alle fikk plass") else: print("Alle fikk ikke plass") hovedprogram()