Python程序设计知到智慧树期末考试答案题库2025年浙江工业职业技术学院.docx
文本预览下载声明
Python程序设计知到智慧树期末考试答案题库2025年浙江工业职业技术学院
阅读下面的程序:li_one=[2,1,5,6];print(sorted(li_one[:2]))运行程序,输出结果是()
答案:[2,1]
阅读下面一段程序:words=Hello,Pythonindex=words.index(Py,0,6)print(index)运行程序,最终执行的结果为()。
答案:程序出现ValueError异常
阅读下面一段示例程序:lstDemo=[]lstDemo.append(A,B)print(lstDemo)运行程序,其最终执行的结果为()
答案:程序出现V
显示全部