我正在尝试list用{}花括号打印.例如:
list
{}
the_list = [1, 2, 3]
我想将列表打印为
{1, 2, 3}
我怎样才能做到这一点?谢谢!
python python-3.x
python ×1
python-3.x ×1