niusouti.com

执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $A.Goodaftenoon GoodAfternoonB.Good+ GoodAfternoonC.Good+ Good&AfternoonD.Good Good&

题目

执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $

A.Goodaftenoon GoodAfternoon

B.Good+ GoodAfternoon

C.Good+ Good&Afternoon

D.Good Good&


相似考题
更多“执行以下语句后,输出的结果是a$="Good"b$="Afternoon"Print a$+b$ Print a$&b $A.Goodafteno ”相关问题
  • 第1题:

    4、以下语句的输出结果是: print("hello",end='+') print("world")

    A.hello+world

    B.hello+ world

    C.hello world

    D.hello+ world+


    B 解析:Mid(s$,i,n)表示从字符串s$的第i个字符开始向后截取n个字符,Len(s$)返回字符串s$的长度。

  • 第2题:

    2.执行语句“x=2.3; print(‘x=’,x)”的输出结果是___________。


    C

  • 第3题:

    39、以下语句的输出结果是: print("hello",end='+') print("world")

    A.hello+world

    B.hello+ world

    C.hello world

    D.hello+ world+


    C

  • 第4题:

    已知x=2,y=10,z=20,以下语句执行后的结果是() if x<y: if z>30: print(“错误”) else: print(“正确”)

    A.错误

    B.正确

    C.无输出

    D.语法错误


    20,10,10

  • 第5题:

    4、以下语句的输出结果是 for i in range(5): print(i) print(i)

    A.4

    B.5

    C.6

    D.0


    2 3 4