题目详情
单选题 What will be the output of the following Python code? print('abcdefcdgh'.partition('cd'))
A. ('ab', 'cd', 'ef', 'cd', 'gh')
B. error
C. ('ab', 'ef', 'gh')
D. ('ab', 'cd', 'efcdgh')
学科:Python程序设计(双语)
时间:2024-09-18 03:32:37
相关题目
相关作业