TypeError:我需要如何固定浮点数

时间:2018-10-04 16:35:07

标签: python python-2.7

Employee(apiEmployee.image!!, apiEmployee.id!!)

我该如何解决

Traceback (most recent call last):
  File "C:/Users/AL_saeed/Desktop/class vector/linear system.py", line 98, in <module>
    print '{},{},{},{}'.format(s[0],s[1],s[2],s[3])
  File "C:/Users/AL_saeed/Desktop/class vector\plane.py", line 111, in __str__
    raise e
TypeError: a float is required

0 个答案:

没有答案