Utilizando biblioteca math

import math


def soma_vezes_pi(a, b):
    return (a + b) * math.pi
>>> soma_vezes_pi(10, 20)
94.24777960769379