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