from math import cos a=2 b=3 x=5 float t = cos(a*(x+1)+b)//2 print(t)
只能写成这样了想知道怎么改
收起
把float删掉
报告相同问题?