Discuss / Python / isinstance的问题~

isinstance的问题~

Topic source

funkyshun

#1 Created at ... [Delete] [Delete and Lock User]

isinstance(a , b, c, (int, float))就会报错。 是不是只能写成: isinstance(a, (int, float)) isinstance(b, (int, float)) isinstance(c, (int, float))


  • 1

Reply