# 怎么让a,b,c,变成{a},{b},{c}? s =''' a,b,c ''' # print 打印集合 {a},{b},{c}
s = '''a,b,c''' for t in s.split(','): print({t}, end='')