TypeError: 'int' object is not callable

前端 未结 6 2105
深忆病人
深忆病人 2020-11-22 14:45

Given the following integers and calculation

from __future__ import division

a = 23
b = 45
c = 16

round((a/b)*0.9*c)

This results in:

6条回答
  •  难免孤独
    2020-11-22 15:06

    In my case I changed:

    return 
    

    with:

    return str()
    

    try with the following and it must work:

    str(round((a/b)*0.9*c))
    

提交回复
热议问题