循环
题目:
答案:
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 + '!')
循环
题目:
答案:
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 + '!')