Python 3: Check if a tuple has a complex number, and append the complex element to a list

前端 未结 0 861
栀梦
栀梦 2021-02-06 02:10

I have a tuple as a list of pair of 2 coordinates each. I want to check if there is a complex number in it and append the complex number in a list.

eg:

be         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题