下面代码的输出结果是______text="good luck!"s = lambda x: text[x].upper()text=s(0)+text[1:5]+s(5)+text[6:]print(text)
A: Good Luck!
B: GL
C: good luck!
D: GOOD
LUCK!
A: Good Luck!
B: GL
C: good luck!
D: GOOD
LUCK!
举一反三
- 中国大学MOOC: At the end of the text, the author says “good luck ” to those who desperately seek fame and fortune to ___.
- 正确描述创建一个段落的句法是( )。 未知类型:{'options': ['[P]Paragraph Text[/]', '[L]Paragraph Text[/]', '[PR]Paragraph Text[/]', '[PRG]Paragraph Text[/]'], 'type': 102}
- Adults often give red envelpoe to the children to wish them _______ and ______ in the coming year. A: good health; good luck B: progress; good luck C: peace; good luck D: success; good luck
- 设$f(x)$是连续函数,则$[\int{f(x)\text{d}x{]}'=}$() A: $f(x)$; B: $f(x)\text{d}x+C$; C: $f(x)+C$; D: $f(x)\text{d}x$.
- 在XML文档中加入样式单处理指令,下面语法正确的是( )。 未知类型:{'options': ['[xml-stylesheet type="text/css" href="stylesheetURL" ]', '[?xml-stylesheet type="text/css" href="stylesheetURL" ?]', '[?xml-stylesheet type="text/css" href="stylesheetURL" ]', '[?xml-stylesheet type="text/css" href="stylesheetURL" /]'], 'type': 102}