python 计算 cos(a*(x+1)+b)/2的值


from math import cos
a=2
b=3
x=5
float t = cos(a*(x+1)+b)//2
print(t)

只能写成这样了想知道怎么改

把float删掉