1 from string import *
2
3 def Monatszahl(Monat):
4 Monate={"januar":1,"februar":2,"maerz":3,"april":4,"mai":5,"juni":6,"juli":7,"august":8,"september":9,"oktober":10,"november":11,"dezember":12}
5 C=Monate.get(lower(Monat))
6 print lower(Monat),' : ',C
7 return C