# 造句练习
who = ['小马', '小羊', '小鹿']
where = ['在草地上','在电影院', '在家里']
what = ['看电影', '听故事', '吃晚饭']
ls = []
# 使用循环嵌套，遍历每种情况，将每种组合加入列表ls
for i in who:
    for j in where:
        for k in what:
            ls.append(i + j + k)
for i in ls:
    print(i)


