Python Use Dictionary As Functions