题目详情
单选题 Which output of the following choices is correct
A. >>> 'Life is short, you need Python'. find('Life') 1
B. >>> print('{:5.3f}'.format(math.pi)) 3.1416
C. >>> print('you' in 'Life is short, you need Python.') True
D. >>> seq = [1, 2, 3, 4] >>> sep = '+' >>> sep.join(seq) '1+2+3+4'

学科:Python程序设计(双语)
时间:2024-04-01 07:25:50
相关题目
相关作业
