以下程序段的输出结果是( )。
id='370211200101018956'
t=(id[6:10], id[10:12], id[12:14])
date='-'.join(t)
print(date)
id='370211200101018956'
t=(id[6:10], id[10:12], id[12:14])
date='-'.join(t)
print(date)
举一反三
- 以下程序段的输出结果是()。id='370211200101018956't=(id[6:10], id[10:12], id[12:14])date='-'.join(t)print(date) A: 2001-1-1 B: 2001-01-01 C: 2001.1.1 D: 2001.01
- 以下程序段的输出结果是( )。id='370211200101018956't=(id[6:10], id[10:12], id[12:14])date='-'.join(t)print(date) A: 2001-1-1 B: 2001-01-01 C: 2001.1.1 D: 2001.01.01
- 以下程序段的输出结果是( )。id='370211200101018956't=(id[6:10], id[10:12], id[12:14])date='-'.join(t)print(date) A: 2001.1.1 B: 2001-1-1 C: 2001.01.01 D: 2001-01-01
- 已知id(ls1) = 4404896968,以下程序的输出结果是: ls1 = [1,2,3,4,5] ls2 = ls1 ls3 = ls1.copy() print(id(ls2),id(ls3))
- 以下程序段哪段是正确的() A: declare id int default 0; repeat set id=id+1; end repeat;<br> until id>=10; B: declare id int default 0; repeat set id=id+1; end repeat;<br> until id>=10 C: declare id int default 0; repeat set id=id+1; until id>=10 end repeat; D: declare id int default 0; repeat set id=id+1; until id>=10; end repeat;