Can we use eval for print variable(list) instead of string

后端 未结 0 1453
执念已碎
执念已碎 2020-12-02 10:40
a = [1,2,3]
b = []
c = [4,5]
d = [a,b,c]

The output I wanna get is: if len(element(d))>0, print list of content of that element + variable. I tri

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