python中的int对象不可调用错误 [英] int object not callable error in python

查看:69
本文介绍了python中的int对象不可调用错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面的这段代码给了我错误

This following section of code gave me the error

fd=((1/(sd*sqrt(6.28)))*2.718**((-1(d-average)**2))/(2*sd**2)))

这是错误

Traceback (most recent call last):
  File "C:\Users\etc
    fd=((1/(sd*sqrt(6.28)))*2.718**((-1(d-average)**2))/(2*sd**2))
TypeError: 'int' object is not callable

我找不到int对象不可调用"的地方

i cannot find where the int object is "not callable"

谢谢

推荐答案

-1之后,您缺少 * 运算符.

You are missing the * operator after -1.

这篇关于python中的int对象不可调用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆