第26313题 单选
执行给定Python代码后输出的结果是?

执行下面Python代码后,输出的结果是?

words = ["Apple", "banana", "cherry", "Date"]
sorted_words = sorted(words, key=str.lower, reverse=True)
print(sorted_words)
A

['Date', 'cherry', 'banana', 'Apple']

B

['Apple', 'banana', 'cherry', 'Date']

C

['date', 'cherry', 'banana', 'apple']

D

['apple', 'banana', 'cherry', 'date']

提交0次 正确率0.00%
答案解析