count the number of elements in set when some elements are not properly quoted

前端 未结 0 1406
挽巷
挽巷 2020-12-07 09:28

One simple example on how to count the number of elements within set (set is nested in a list) is:

input

abc=[{\'TV\',\'wifi\'},{\'TV\',\'wifi\',\'heater\'}]         


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