mylist = ["传智教育", "黑马程序员", "Python"] # 列推导式 mylist = [e + "ABC" for e in mylist] print(mylist) for e in mylist: print(e + 'abc')