使用Python3.8 于2019/10/20开始录制
s='helloworld'
a = list(s)
for i in range(1,len(a)+1):
b =a[:i]
print(b)