已知 formatter = 'good {0}'.format,那么表达式 list(map(formatter, ['morning']))的值为___________
A: ['good morning']
B: ['good']
C: good morning'
D: good'
A: ['good morning']
B: ['good']
C: good morning'
D: good'
举一反三
- 已知formatter=’good{0}’.format,表达式list(map(formatter,[‘marning’]))的值为______ 。
- 已知 fn = 'good {0}'.format,那么表达式 list(map(fn, 'girl'))的值为 A: ['good g', 'good i', 'good r', 'good l'] B: ['good girl'] C: 'good girl' D: 'good'
- They often say"_______" to greet each other in the morning. A: in the morning B: Good morning C: Good afternoon D: Good evening
- 已知 fn = 'very {0}'.format,那么表达式 list(map(fn, 'well'))的值为 A: ['very w', 'good e', 'good l', 'good l'] B: ['very well'] C: 'very well' D: 'very '
- “早上好”应该说___________ A: Good<br/>morning! B: Good afternoon! C: Good night!