以下对于序列的相关操作中正确的输出结果是哪一项?
A: >>> [5] * 2 [10]
B: >>> word = 'cloud'; word[5] 'd'
C: >>> word = 'cloud'; print(min(word)) c
D: >>> print('Merry Xmas ' + 12.25) Merry Xmas 12.25
A: >>> [5] * 2 [10]
B: >>> word = 'cloud'; word[5] 'd'
C: >>> word = 'cloud'; print(min(word)) c
D: >>> print('Merry Xmas ' + 12.25) Merry Xmas 12.25
举一反三
- 以下对于序列的相关操作中正确的输出结果是哪一项? A: >>> [5] * 2 [10] B: >>> word = 'cloud'; word[5] 'd' C: >>> word = 'cloud'; print(min(word)) c D: >>> print('Merry Xmas ' + 12.25) Merry Xmas 12.25
- 以下对于序列的相关操作中正确的输出结果是哪一项? A: >;>;>;word='cloud';print(min(word)) c B: >;>;>;[5]*2 [10] C: >;>;>;word='cloud';word[5] 'd' D: >;>;>;print('MerryXmas'+12.25) MerryXmas12.25
- The word Xmas is sometimes used instead of Christmas.
- str1 = "hello world!!!"str2 = "word"print(str1.find(str2, 5)打印的结果是: A: 5 B: -1 C: 0 D: 7
- 下列语句的运行结果是: a = 10 if a % 2 !=0: print('A') elif a >;= 5: print('B') else: print('C') A: A B: B C: C D: 无输出