循环
题目:
答案:
1 #!/usr/bin/env python3 2 #-*- coding:utf-8 -*- 3 4 L = [‘Bart‘, ‘Lisa‘, ‘Adam‘] 5 6 for i in L: 7 print(‘Hello ‘ + i + ‘!‘)
原文地址:https://www.cnblogs.com/yrxns/p/9409705.html
时间: 2024-10-11 00:38:29
循环
题目:
答案:
1 #!/usr/bin/env python3 2 #-*- coding:utf-8 -*- 3 4 L = [‘Bart‘, ‘Lisa‘, ‘Adam‘] 5 6 for i in L: 7 print(‘Hello ‘ + i + ‘!‘)
原文地址:https://www.cnblogs.com/yrxns/p/9409705.html