Seizoenen
dag = int(input())
maand = input()
maanden =
["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]
nr = maanden.index(maand) #januari = 0, fabruari = 1, maart = 2
#lijst begint altijd te tellen vanaf 0
#code zo kort mogelijk
if nr <2 or (nr == 2 and dag<=20): #tussen haakjes want is één voorwaarde
seizoen = "winter"
elif nr <5 or (nr == 5 and dag <=20):
seizoen = "lente"
elif nr <8 or (nr ==8 and dag <=22):
seizoen = "zomer"
elif nr <11 or (nr ==11 and dag <21):
seizoen = "herfst"
else:
seizoen = "winter" #rest van december dat winter is
if allel1 == allel2:
if allel1 == "A":
BP = "A"
elif allel1 == "B":
BP = "B"
else:
BP = "O"
elif (allel1 == "A" and allel2 == "B") or (allel2 == "A" and allel1 == "B"):
BP = "AB"
elif (allel1 == "A" and allel2 == "O") or (allel2 == "A" and allel1 == "O"):
BP = "A"
else:
BP = "B"
print(f"De combinatie van de ABO allelen {allel1} en {allel2} resulteert in bloedgroep {BP}.”)
if speler1 == speler2:
uitkomst = "gelijkspel"
elif (
fl fl
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller hannahmeuleman. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.75. You're not tied to anything after your purchase.