Python “int object is not callable”

前端 未结 3 1657
南旧
南旧 2021-01-28 05:18

TypeError: \'int\' object is not callable

Anyone knows how can I fix this error? I know error is somewhere in the equation in the total. Thanks

decimal =         


        
3条回答
  •  北恋
    北恋 (楼主)
    2021-01-28 05:31

    You should define p first simple(int p,int r,int t) then total=p*(1+decim

提交回复
热议问题