用join拼接两个字符串 a='hehe'b='wawa'print(''.join((a,b)))#'hehewawa' 用join拼接列表中的字符串 l=['a''b','c','d']print(''.join(l))#'abcd'