Power Function In Python