考察格式化输出

from math import exp
t = int(input())
for _ in range(t):
    a,b,c = map(int,input().split())
    temp = b*exp(a)
    print(f"{temp:.{c}f}")

exp(x)代表的是e的x次方