下面代码的输出结果是( )。 a = "alex" b = a.capitalize() print(a,end=",") print(b)
alex,Alex
举一反三
- 下面代码的输出结果是()。 A: = "alex" B: = a.capitalize()print(a,end=",")print(b)A. alex,ALEX B. ALEX,alex C: alex,Alex D: Alex,Alex
- 下面代码的输出结果是 for i in "Python": print(i,end=" ")
- 下面代码的输出结果是? for i in range(3): print(2, end=',')
- 下面代码的输出结果是? for i in range(3): print(2, end=',')
- 下面代码的输出结果是 ( )。for i in range(1,10,2): print(i,end=",")
内容
- 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