def karantene(vaksinert, farge): if vaksinert: return 0 if farge == "roed" or farge == "oransje": return 10 if farge == "groenn": return 3