单选题
适中
#4267
下列程序的运行结果是?( ) str1 = '0123456789' str2 = str1 [ 1 : 9 : 2 ] print ( str2 ) Copy
下列程序的运行结果是?( )
答案与解析
正确答案:A
解析
考察字符串切片。