converting a set() to an int python

前端 未结 0 413
醉酒成梦
醉酒成梦 2021-01-23 02:27

So my question is how can you (or if it can be done at all) convert data type of set to an integer?

for example:

a_set = set(1)
a_int = a_function(a_set)
p         


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