下面代码的输出结果是(). def hello_world(): print(‘ST’,end =”*”) def three_hellos(): for i in range(3): hello_world() three_hellos()
A. ST* ST* ST*
B. ST*ST
C. ST*
D. ***
已知线性表L=(21,-7,-8,19,0,-11,34,30,-10),写出执行f30(&L)后的L状态。() void f30(SeqList *L) { int i,j; for (i=j=0;i <l-> length; i++) if(L->data[i]>=0) { if(i!=j) L->data[j]=L->data[i]; j++;} L->length=j; }
A. L=(-7,-8,0,-11,-10)
B. L=(21,19,34,30)
C. L=(21,19,0,34,30)
D. L=(-7,-8,-11,-10)
以下能够根据逗号’,’分隔字符串的是().
A. s.split()
B. s.strip()
C. s.center()
D. s.replace()
报表需要填列某科目的本期借方发生额,以下函数正确的是
ACCT("科目编码","J","",0,0,0,"")
B. ACCT("科目编码","JF","",0,0,0,"")
C. JF(科目编码,月)
D. FS(科目编码,月,J)