37,720
社区成员
发帖
与我相关
我的任务
分享
print("kwargs.keys()=%s" % kwargs.keys())
print("type(kwargs.keys())=%s" % type(kwargs.keys()))
print("self._fields=%s" % self._fields)
print("type(self._fields)=%s" % type(self._fields))
>>> list1= ['a', 'b', 'c']
>>> list2 = ['a', 'b']
>>> list3 = list1 - list2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for -: 'list' and 'list'
>>> print(type(list1))
<class 'list'>
>>> print(type(list2))
<class 'list'>