某python程序段代碼如下: s=input( ) n=1 ss=”” for i in range(1,len(s)): if s[i]==s[i-1]: n+=1 else: ss+=str(n)+s[i-1] n=1 print(ss) 程序段執(zhí)行后,輸入的字符串為“AACCCCCDEEEE”,則輸出的結(jié)果為( )
3.有程序代碼如下,輸入某數(shù)據(jù)后,輸出結(jié)果為“B”。那么輸入的數(shù)據(jù)可能是( ?。?br />Dim score As Integer score=Val(InputBox(“score:“)) If score>89 Then Print“A“ Else If score>59 Then Print“B“ Else Print“C“ End If End If