• 2021-04-14
    下面代码的输出结果是( )。 a = "alex" b = a.capitalize() print(a,end=",") print(b)
  • alex,Alex

    内容

    • 0

      下面代码的输出结果是()。 for i in range(1,10,2): print(i,end=”,”)

    • 1

      print("a",end="") print("a",end="")代码结果()

    • 2

      下面代码的输出结果是‪‪‪‪‪‪‫‪‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‪‫‪‪‪‪‪‪‫ for s in "HelloWorld": if s=="W": break print(s, end="")

    • 3

      下面代码的输出是什么? print("A", end = ' ') print("B", end = ' ') print("C", end = ' ') print("D", end = ' ')​ A: ABCD B: A, B, C, D C: A B C D D: ABCD

    • 4

      下面python代码的执行结果是:()a = "gouguoqi"b = a.capitalize()print (a)print (b) A: Gouguoqi,Gouguoqi B: gouguoqi,Gouguoqi C: Gouguoqi,GOUGUOQI D: gouguoqi,GOUGUOQI