摘要: 方法一: # -*- coding: utf-8 -*- # 请利用循环依次对list中的每个名字打印出Hello, xxx! L = ['Bart', 'Lisa', 'Adam'] n = 0 while n < len(L): print('hello,' + L[n] + '!') n = 阅读全文
posted @ 2019-10-22 09:43 it_逗逗 阅读(3462) 评论(0) 推荐(1) 编辑