亲亲,您好:[微笑]Python计算tan-1log3π+1import mathprint(math.pi)x = math.log(math.pi+1,3)y = math.atan(x)print(y)———3.1415926535897930.9126853889446899