执行下面Python代码后,输出的结果为3。( )
data = {'ids': [1, 2], 'name': 'test'} data['ids'].extend(['g', 'e', 's', 'p']) print(len(data['ids']))